Dynamic group with custom extension properties (from multi-tenant application)

Stephan van Rooij 61 Reputation points MVP
2020-07-24T10:32:46.693+00:00

We created a multi-tenant application in tenant A, we then added several extensionProperties. If we then create a new Dynamic Membership group (in Tenant A) and press the Get custom extension properties link, and then input the Application ID. We get to pick the created extension properties, as shown in this screenshot: ![13590-custom-extension-properties.png][1] Now we try the same in tenant B, the admin did do the admin consent for our application. 1. Admin consent for our app 2. Create some users with a value in the extension properties 3. Create dynamic group 4. Click Get custom extension properties 5. Enter the application ID and press Refresh properties 6. Tumbleweed (eg. nothing happens) When executing these steps in Tenant A, I see that it does a network reqeust to https://main.iam.ad.ext.azure.com/api/groups/c28ed0...697/GetExtensionPropertiesByApp (with the correct application ID). The response is a json file with an array of extension properties like:
[{ "appDisplayName": "", "name": "extension_c28ed0xxxc697_Subject", "dataType": "String", "isSyncedFromOnPremises": false, "objectType": "ExtensionProperty", "targetObjects": [ "User", "Group" ] }]
When executing the same steps on Tenant B, I see the same request but the response is empty [] I've made sure that we actually have users with a value set for those extension properties. And was wondering how to enable these extension properties on third-party tenants, that use our multi-tenant appliction. Is it not working by design, or is it a bug? ## Would this work? Do we just need to execute these extra steps to enable it in every other tenant: 1. Ask for the scope Application.ReadWrite.All 2. Create the extension properties in every tenant, at time of enrollment? ## Bug or not implemented? I'm guessing it is either a bug, or extension attributes aren't meant to be used in multi-tenant applications. [1]: /api/attachments/13590-custom-extension-properties.png?platform=QnA

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,652 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. 2020-07-24T14:55:05.363+00:00

    Extension properties can only be managed and accessed from the application home tenant.