Share via

User is created as both Basic and AAD provider when using APIM REST API

Jonas 21 Reputation points
2022-05-04T10:11:16.627+00:00

When calling the API User - Create Or Update with payload for creating a user with an AAD identity, the user is created with both basic and AAD as identity providers

Example request
{
"properties": {
"firstName": "John",
"lastName": "Doe",
"email": "john@tiedtlaw email .com",
"appType": "developerPortal",
"identities": {
"id": "AAD object id",
"provider": "Aad"
}
}
}

Our workaround is to create a subsequent PATCH request User - Update with exactly the same body which removes the basic identity. However one should expect that the first PUT call for creating the APIM user would create the user with only the AAD identity.

Azure API Management
Azure API Management

An Azure service that provides a hybrid, multi-cloud management platform for APIs.

0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.