Add A Microsoft Entra ID
post/azure/active-directories
This endpoint is used to create a new Microsoft Entra ID in Conformity.
Note:
- Only ADMIN user can create a new Microsoft Entra ID
IMPORTANT: In order to create a new Microsoft Entra ID, you need to:
- Consult the HELP pages to Setup Cloud Conformity Azure Access Application
- Provide the ID of the Microsoft Entra ID.
- Provide Azure Application registration ID and Key.
SecurityApiKeyAuth
Request
Request Body schema: application/vnd.api+json
object |
Responses
200
OK
403
Unauthorized. The requesting user does not have enough privilege.
422
Unprocessed Entity. Validation error.
Request samples
- Payload
application/vnd.api+json
{- "data": {
- "attributes": {
- "name": "MyMicrosoftEntraID",
- "directoryId": "MICROSOFT_ENTRA_ID_ID",
- "applicationId": "YOUR_APPLICATION_ID",
- "applicationKey": "YOUR_APPLICATION_KEY"
}
}
}
Response samples
- 200
- 403
- 422
application/json
{- "data": {
- "type": "active-directories",
- "id": "MICROSOFT_ENTRA_ID_ID",
- "attributes": {
- "name": "MyMicrosoftEntraID",
- "directory-id": "MICROSOFT_ENTRA_ID_ID",
- "created-date": 1635230845449,
- "last-modified-date": 1635230845449
}
}
}
List Azure Subscriptions from an onboarded Microsoft Entra ID
get/azure/active-directories/{directoryId}/subscriptions
This endpoint is used to list Azure Subscriptions from an onboarded Microsoft Entra ID.
Note:
- Only ADMIN user can access subscriptions of an Microsoft Entra ID
SecurityApiKeyAuth
Request
Responses
200
OK
403
Unauthorized. The requesting user does not have enough privilege.
404
Does not exist
Response samples
- 200
- 403
- 404
application/json
{- "data": [
- {
- "type": "subscriptions",
- "id": "AZURE_SUBSCRIPTION_ID",
- "attributes": {
- "display-name": "A Azure Subscription",
- "state": "Enabled",
- "added-to-conformity": true
}
}
]
}