An Azure service that provides a hybrid, multi-cloud management platform for APIs.
Azure APIM - making calls to microsoft graph (Azure AD B2C)
Hi,
I need to have APIM accepting calls to be directed to AAD B2C Graph for user management (Create User, Update user, Get User).
How can I do that?
In Postman I'm doing it with "Client Credentials" with this body payload. Can I do such transformation/composition in Azure APIM or do I need to instruct my APIM clients to pass the payload exactly as microsoft graph needs it (example below) and APIM just changes the target endpoint?
Example of a valid request (create user) made to ms graph via postman:
{
"accountEnabled": true,
"displayName": "test.user1",
"givenName": "test",
"surname": "user1",
"creationType": "LocalAccount",
"mail": "@zzz.com",
"identities": [
{
"signInType": "emailAddress",
"issuer": "xxxxx.onmicrosoft.com",
"issuerAssignedId": "@zzz.com"
}
],
"passwordProfile": {
"password": "**********,
"forceChangePasswordNextSignIn": true
},
"passwordPolicies": "DisablePasswordExpiration"
}
Help is really appreciated
Thanks,
JD
Azure API Management
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Managing external identities to enable secure access for partners, customers, and other non-employees
Microsoft Security | Microsoft Graph
An API that connects multiple Microsoft services, enabling data access and automation across platforms
1 answer
Sort by: Oldest
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
9 deleted comments
Comments have been turned off. Learn more