You can check whether a user is an owner of an Azure AD application.
To validate a user, send the HTTP POST request to the /accounts/azure/service/isUserOwnerOfAdApp endpoint.
HTTP Request
POST https://<hostname>/api/v2/accounts/azure/service/isUserOwnerOfAdApp
Query Parameters
To control the amount and order of data in the response, you can use the following query parameters:
Query Parameter
Value
Description
applicationId
string
Checks whether the user is an owner of a specified Azure AD application. For more information, see Filter Parameters.
Request Headers
The request contains the following headers.
Header
Required
Value
Description
Authorization
Required
Bearer <Access-Token>
Authenticates a client who sends the request to the server. Must contain the access token for the current logon session in the Bearer <Access-Token> format.
Request Body
To get a list of all subscriptions, send the parameters of the AzureAuthenticationResultV2 schema in the request body.
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 (OK).
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTP headers.
Header
Value
Description
Content-length
integer
Identifies the length of the response body message, in bytes.
Content-type
application/json
application/problem+json
Identifies the media type of the response body message.
Response Body
If the a user is an owner of an Azure AD application, Veeam Backup for Microsoft Azure returns 200 Code, in other cases Veeam Backup for Microsoft Azure returns the severity level and the error message.
Example
The following request checks whether a user is an owner of an Azure AD application.
Request:
POST https://51.11.247.127/api/v2/accounts/azure/service/isUserOwnerOfAdApp