Forum Discussion

algebra's avatar
algebra
Copper Contributor
Oct 05, 2020

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

    • ShawnMay's avatar
      ShawnMay
      Copper Contributor
      I 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.
      • MikeCrowley's avatar
        MikeCrowley
        Iron 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

Resources