Get List of AD Groups
You can get a list of Azure AD groups available to the service account.
To retrieve a representation of a collection of Azure AD groups, send the HTTP POST request to the /accounts/azure/service/listAdGroups endpoint.
The request contains the following headers.
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.
To get a list of all Azure AD groups, send the parameters of the ListAdGroupRequestV2 schema in the request body.
To obtain an accessTokenCache, follow the instructions in section Authenticate Service Account .
The server returns the following response to the client.
A successfully completed operation returns a response code 200 (OK).
The response to this request contains the following headers. The response may also include additional standard HTTP headers.
Identifies the length of the response body message, in bytes.
Identifies the media type of the response body message.
In the response body, Veeam Backup for Microsoft Azure returns a representation of the /accounts/azure/service/listAdgroups collection. The AdGroupListingResultV2 schema is used for the collection representation.
The following request returns a list of Azure AD groups.