Forum Discussion
algebra
Oct 05, 2020Copper Contributor
Microsoft Graph - Filtering on identities
Hi.
I use a similar API call as the example shown below for my Power Apps. The issuer in the development and production environment is not the same. Hence it makes sense to me to take that into consideration when establishing the connectors. However, I found out that I can write whatever I want as the issuer, and still get the desired outcome. Should that be the case?
https://graph.microsoft.com/v1.0/users$select=displayName,id&$filter=identities/any(c:c/issuerAssignedId eq 'j.smith@yahoo.com' and c/issuer eq 'contoso.onmicrosoft.com')
3 Replies
- MsTechCommUserCopper ContributorHi algebra: Did you ever receive a resolution for this issue?
I've raised a similar question to this as well: https://techcommunity.microsoft.com/t5/microsoft-graph/user-query-filter-ignores-identities-issuer-ms-graph-api-and/td-p/3296041- ShawnMayCopper ContributorI am also VERY interested. Has this been solved?
In a B2B tenant, querying identities>issuer on "MicrosoftAccount" or "ExternalAzureAD" and IssuerAssignedID fails.
In Entra ID, attempts to also create a dynamic distribution group (for CA policy filtering) based on similar criteria is not allowed.
Kindly advise.- MikeCrowleyIron Contributor
There seems to be a lot of discussion on this attribute being broken. I posted as well:
- https://github.com/microsoftgraph/microsoft-graph-docs-contrib/issues/9104
- https://learn.microsoft.com/en-us/answers/questions/826199/user-query-filter-ignores-identities-issuer-ms-gra?orderby=newest#answers