Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Retrieve extension properties on Azure ADB2C via API

I am usin Azure ADB2C and with the API Graph GetUser I want also the extension properties I have configured on Azure Portal.

I've read that I should specify the field on the query string, but the field name is different from the one I chose, and it's something like "extension_GUID_fieldName".

The problem is that I can't get that name, i.e. retrieve the assigned GUID for that name; it seems no API lets you do that, and the only trick I've found is to query via PowerShell which is not a solution for me.

Any suggestion? Thanks

like image 860
Radox Avatar asked Oct 22 '25 23:10

Radox


1 Answers

You can find that GUID in your Azure AD B2C App registrations blade by searching b2c-extensions-app : enter image description here

The Application ID is the GUID that you are looking for. But you should remove all - characters. For instance, I have a custom attribute created on portal named "id4GTM": enter image description here

If you want to query its value by Microsoft Graph API, this is the query example below: enter image description here

like image 136
Stanley Gong Avatar answered Oct 24 '25 16:10

Stanley Gong