I am attempting to discover which extension properties I have available to my application. I originally followed this guide to get the extension attributes:
But that just returns the following JSON:
{
"odata.metadata": "https://graph.windows.net/screenmediatestb2c.onmicrosoft.com/$metadata#directoryObjects/Microsoft.DirectoryServices.ExtensionProperty",
"value": []
}
I have also attempted to do this with regular HTTP requests using Postman, but with the exact same result. I can authenticate and load applications, users, groups etc. But it doesn't return any of my custom attributes, of which I have 2.
The endpoint I am using is:
https://graph.windows.net/[tenant]/applications/[application object ID]/extensionProperties?api-version=1.6
Does anyone have any idea what I am doing wrong?
B2C Get-B2C-Application
adds a filter to the end of the request offilter=displayName eq 'b2c-extensions-app'
. I tried to change the objectid passed toB2C Get-Extension-Attribute
to my named application visible through the App registrations blade but again the list of custom attributes is blank. Were you able find out what was wrong? - ChrisO