Microsoft Azure Policy Listing API

The PolicyListing API from Microsoft Azure, for policylisting.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /{scope}/providers/Microsoft.Purview/policies List Purview RBAC policies affecting a scope · Microsoft Azure Api To List The Purview Rbac Policies Based On A Scope #
Ask an LLM
“Which Microsoft Purview RBAC policies apply to a given Azure resource?”
“Can I filter the Purview policies returned for a scope?”
Tell an agent
List the Purview RBAC policies affecting scope {scope}.
List Purview policies for the scope matching {filter}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-policylisting-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-policylisting-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure PurviewPolicyClient Policy Listing API
  version: 2023-06-01-preview
  description: Creates a Microsoft.Purview management client.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: PolicyListing
paths:
  /{scope}/providers/Microsoft.Purview/policies:
    get:
      operationId: microsoftAzurePurviewpoliciesList
      tags:
      - PolicyListing
      summary: Microsoft Azure Api To List The Purview Rbac Policies Based On A Scope
      description: The API lists the Azure purview RBAC policies affecting the scope. The scope can be any valid ARM resource id
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ScopeParameter
      - $ref: '#/components/parameters/SkipTokenParameter'
      - name: $filter
        in: query
        description: 'Supported filters : $filter=policyType eq SelfService, $filter=policyType eq SqlDevops. Returns only the policies of the specified type. If not specified, all policies are returned.'
        required: false
        x-ms-client-name: filter
        x-ms-skip-url-encoding: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        API to list the purview RBAC policies based on a scope - generated by [MaximumSet] rule - generated by [MaximumSet] rule:
          $ref: ./examples/PurviewPolicies_List_MaximumSet_Gen.json
      x-ms-pageable:
        nextLinkName: nextLink
components:
  schemas:
    FabricItemMember:
      type: object
      description: Microsoft fabric item member
      properties:
        sourcePath:
          type: string
          description: Source path of the member
        itemAccess:
          type: array
          description: Array of access items for the member
          items:
            type: string
    PolicyDecisionRule:
      type: object
      description: Purview RBAC policy decision rule
      properties:
        effect:
          $ref: '#/components/schemas/Decision'
          description: The effect for rule
        permission:
          type: array
          description: Array of attribute predicates
          items:
            $ref: '#/components/schemas/AttributePredicate'
          x-ms-identifiers: []
      required:
      - effect
    AadMember:
      type: object
      description: Azure active directory member
      properties:
        tenantId:
          type: string
          description: The tenantId of the member
        objectId:
          type: string
          description: The objectId of the member
        objectType:
          $ref: '#/components/schemas/ObjectType'
          description: The objectType of the member.
    Decision:
      type: string
      description: The effect for rule
      enum:
      - Permit
      - Deny
      x-ms-enum:
        name: Decision
        modelAsString: true
        values:
        - name: Permit
          value: Permit
          description: Access permitted
        - name: Deny
          value: Deny
          description: Access denied
    PolicyMembers:
      type: object
      description: Policy member
      properties:
        fabricItemMembers:
          type: array
          description: Array of azure active directory members
          items:
            $ref: '#/components/schemas/FabricItemMember'
          x-ms-identifiers: []
        aadMembers:
          type: array
          description: Array of azure active directory members
          items:
            $ref: '#/components/schemas/AadMember'
          x-ms-identifiers: []
    Policy:
      type: object
      description: Purview RBAC policy
      properties:
        kind:
          type: string
          description: The policy kind
        source:
          type: string
          description: The policy source
        etag:
          type: string
          description: The etag version of a policy
        scopes:
          type: array
          description: Array of scopes where the policy is published
          items:
            type: string
        members:
          $ref: '#/components/schemas/PolicyMembers'
          description: Members of the policy
        decisionRules:
          type: array
          description: Array of decision rules for the policy
          items:
            $ref: '#/components/schemas/PolicyDecisionRule'
          x-ms-identifiers: []
        expiryTime:
          type: string
          format: date-time
          description: The timestamp of the expiry time of the policy (UTC).
        requestor:
          type: string
          description: The AAD member who requested the policy
      required:
      - source
      - etag
      - scopes
      - members
      - decisionRules
      allOf:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource
    ObjectType:
      type: string
      description: The objectType of the member.
      enum:
      - User
      - Group
      - ServicePrincipal
      x-ms-enum:
        name: ObjectType
        modelAsString: true
        values:
        - name: User
          value: User
          description: AAD User object type.
        - name: Group
          value: Group
          description: AAD Group object type.
        - name: ServicePrincipal
          value: ServicePrincipal
          description: Service Principal object type.
    AttributePredicate:
      type: object
      description: Attribute predicate for a policy permission
      properties:
        attributeName:
          type: string
          description: AttributeName of a policy permission
        attributeValueIncludedIn:
          type: array
          description: values for a policy permission
          items:
            type: string
    PolicyListResult:
      type: object
      description: The response of a Policy list operation.
      properties:
        value:
          type: array
          description: The Policy items on this page
          items:
            $ref: '#/components/schemas/Policy'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
  parameters:
    SkipTokenParameter:
      name: skipToken
      in: query
      description: Paging key to paginate to next page.
      required: false
      x-ms-parameter-location: method
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.