{
  "info": {
    "_postman_id": "8c579552-8744-4631-9ca1-a2e6c0de4544",
    "name": "Microsoft Azure Cognitive Services Accounts Service Principals API",
    "description": "APIs for vision, speech, language, and decision-making AI capabilities including Computer Vision, Text Analytics, and Translator services.\n\nContact Support:\n Name: Microsoft Azure Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:14:41.000Z",
    "updatedAt": "2026-07-28T02:14:41.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-8c579552-8744-4631-9ca1-a2e6c0de4544"
  },
  "item": [
    {
      "name": "servicePrincipals",
      "item": [
        {
          "name": "Microsoft List service principals",
          "id": "e88032a6-19e6-4d8a-b869-099158b0f5f8",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/servicePrincipals?$select=<string>&$filter=<string>&$top=<integer>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servicePrincipals"
              ],
              "query": [
                {
                  "description": "Properties to include",
                  "key": "$select",
                  "value": "<string>"
                },
                {
                  "description": "OData filter expression",
                  "key": "$filter",
                  "value": "<string>"
                },
                {
                  "description": "Maximum number of items",
                  "key": "$top",
                  "value": "<integer>"
                }
              ]
            },
            "description": "Retrieve a list of service principal objects."
          },
          "response": [
            {
              "id": "0a6b86ed-862c-4480-bef8-aff5d75e5e58",
              "name": "List of service principals",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Ocp-Apim-Subscription-Key",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servicePrincipals?$select=<string>&$filter=<string>&$top=<integer>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servicePrincipals"
                  ],
                  "query": [
                    {
                      "description": "Properties to include",
                      "key": "$select",
                      "value": "<string>"
                    },
                    {
                      "description": "OData filter expression",
                      "key": "$filter",
                      "value": "<string>"
                    },
                    {
                      "description": "Maximum number of items",
                      "key": "$top",
                      "value": "<integer>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"@odata.context\": \"<string>\",\n  \"value\": [\n    {\n      \"id\": \"<string>\",\n      \"appId\": \"<string>\",\n      \"displayName\": \"<string>\",\n      \"servicePrincipalType\": \"<string>\",\n      \"appRoles\": [\n        {\n          \"id\": \"<string>\",\n          \"displayName\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isEnabled\": \"<boolean>\"\n        },\n        {\n          \"id\": \"<string>\",\n          \"displayName\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isEnabled\": \"<boolean>\"\n        }\n      ],\n      \"oauth2PermissionScopes\": [\n        {\n          \"id\": \"<string>\",\n          \"value\": \"<string>\",\n          \"type\": \"<string>\"\n        },\n        {\n          \"id\": \"<string>\",\n          \"value\": \"<string>\",\n          \"type\": \"<string>\"\n        }\n      ],\n      \"createdDateTime\": \"<dateTime>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"appId\": \"<string>\",\n      \"displayName\": \"<string>\",\n      \"servicePrincipalType\": \"<string>\",\n      \"appRoles\": [\n        {\n          \"id\": \"<string>\",\n          \"displayName\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isEnabled\": \"<boolean>\"\n        },\n        {\n          \"id\": \"<string>\",\n          \"displayName\": \"<string>\",\n          \"value\": \"<string>\",\n          \"isEnabled\": \"<boolean>\"\n        }\n      ],\n      \"oauth2PermissionScopes\": [\n        {\n          \"id\": \"<string>\",\n          \"value\": \"<string>\",\n          \"type\": \"<string>\"\n        },\n        {\n          \"id\": \"<string>\",\n          \"value\": \"<string>\",\n          \"type\": \"<string>\"\n        }\n      ],\n      \"createdDateTime\": \"<dateTime>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T02:14:41.000Z",
              "updatedAt": "2026-07-28T02:14:41.000Z",
              "uid": "35240-0a6b86ed-862c-4480-bef8-aff5d75e5e58"
            },
            {
              "id": "a5660c03-0c66-4763-8b0d-350e29be1e37",
              "name": "Unauthorized",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Ocp-Apim-Subscription-Key",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servicePrincipals?$select=<string>&$filter=<string>&$top=<integer>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servicePrincipals"
                  ],
                  "query": [
                    {
                      "description": "Properties to include",
                      "key": "$select",
                      "value": "<string>"
                    },
                    {
                      "description": "OData filter expression",
                      "key": "$filter",
                      "value": "<string>"
                    },
                    {
                      "description": "Maximum number of items",
                      "key": "$top",
                      "value": "<integer>"
                    }
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T02:14:41.000Z",
              "updatedAt": "2026-07-28T02:14:41.000Z",
              "uid": "35240-a5660c03-0c66-4763-8b0d-350e29be1e37"
            }
          ],
          "createdAt": "2026-07-28T02:14:41.000Z",
          "updatedAt": "2026-07-28T02:14:41.000Z",
          "uid": "35240-e88032a6-19e6-4d8a-b869-099158b0f5f8"
        },
        {
          "name": "Microsoft Create a service principal",
          "id": "c26c4442-98f5-4dfd-8a87-a882d80cba77",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"appId\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/servicePrincipals",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servicePrincipals"
              ]
            },
            "description": "Create a new service principal."
          },
          "response": [
            {
              "id": "24202edf-bd7f-4f5e-b1a6-c4669bf4c073",
              "name": "Service principal created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Ocp-Apim-Subscription-Key",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"appId\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/servicePrincipals",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servicePrincipals"
                  ]
                }
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"id\": \"<string>\",\n  \"appId\": \"<string>\",\n  \"displayName\": \"<string>\",\n  \"servicePrincipalType\": \"<string>\",\n  \"appRoles\": [\n    {\n      \"id\": \"<string>\",\n      \"displayName\": \"<string>\",\n      \"value\": \"<string>\",\n      \"isEnabled\": \"<boolean>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"displayName\": \"<string>\",\n      \"value\": \"<string>\",\n      \"isEnabled\": \"<boolean>\"\n    }\n  ],\n  \"oauth2PermissionScopes\": [\n    {\n      \"id\": \"<string>\",\n      \"value\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"value\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ],\n  \"createdDateTime\": \"<dateTime>\"\n}",
              "createdAt": "2026-07-28T02:14:41.000Z",
              "updatedAt": "2026-07-28T02:14:41.000Z",
              "uid": "35240-24202edf-bd7f-4f5e-b1a6-c4669bf4c073"
            },
            {
              "id": "719d3f22-672e-4057-b789-f906c7645575",
              "name": "Invalid request",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Ocp-Apim-Subscription-Key",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"appId\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/servicePrincipals",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servicePrincipals"
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T02:14:41.000Z",
              "updatedAt": "2026-07-28T02:14:41.000Z",
              "uid": "35240-719d3f22-672e-4057-b789-f906c7645575"
            },
            {
              "id": "7ef8ea02-9f52-433a-a31c-d701bbe66e75",
              "name": "Unauthorized",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Ocp-Apim-Subscription-Key",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"appId\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/servicePrincipals",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servicePrincipals"
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T02:14:41.000Z",
              "updatedAt": "2026-07-28T02:14:41.000Z",
              "uid": "35240-7ef8ea02-9f52-433a-a31c-d701bbe66e75"
            }
          ],
          "createdAt": "2026-07-28T02:14:41.000Z",
          "updatedAt": "2026-07-28T02:14:41.000Z",
          "uid": "35240-c26c4442-98f5-4dfd-8a87-a882d80cba77"
        }
      ],
      "id": "63508e34-4bb0-46fb-b730-22e50b0917e8",
      "createdAt": "2026-07-28T02:14:41.000Z",
      "updatedAt": "2026-07-28T02:14:41.000Z",
      "uid": "35240-63508e34-4bb0-46fb-b730-22e50b0917e8"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Ocp-Apim-Subscription-Key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "region",
      "value": "eastus"
    },
    {
      "key": "baseUrl",
      "value": "https://{{region}}.api.cognitive.microsoft.com"
    }
  ]
}