swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector ServicePrincipalsByAppId API schemes: - https tags: - name: ServicePrincipalsByAppId paths: /{tenantID}/servicePrincipalsByAppId/{applicationID}/objectId: get: tags: - ServicePrincipalsByAppId operationId: microsoftAzureApplicationsGetserviceprincipalsidbyappid description: Gets an object id for a given application id from the current tenant. parameters: - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/tenantIDInPath' - name: applicationID in: path required: true type: string description: The application ID. responses: '200': description: OK. The operation was successful. schema: $ref: '#/definitions/ServicePrincipalObjectResult' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/GraphError' summary: Microsoft Azure Get Tenantid Serviceprincipalsbyappid Applicationid Objectid definitions: ErrorMessage: type: object properties: value: type: string x-ms-client-name: message description: Error message value. description: Active Directory error message. GraphError: type: object properties: odata.error: type: object x-ms-client-flatten: true $ref: '#/definitions/OdataError' description: A Graph API error. description: Active Directory error information. ServicePrincipalObjectResult: type: object properties: value: type: string description: The Object ID of the service principal with the specified application ID. odata.metadata: type: string description: The URL representing edm equivalent. description: Service Principal Object Result. OdataError: type: object properties: code: type: string description: Error code. message: type: object x-ms-client-flatten: true $ref: '#/definitions/ErrorMessage' description: Error Message. description: Active Directory OData error information. parameters: ApiVersionParameter: name: api-version in: query required: true type: string description: Client API version. tenantIDInPath: name: tenantID in: path required: true type: string description: The tenant ID. x-ms-parameter-location: client x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'