Microsoft Graph - Filtering on identities

%3CLINGO-SUB%20id%3D%22lingo-sub-1744549%22%20slang%3D%22en-US%22%3EMicrosoft%20Graph%20-%20Filtering%20on%20identities%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1744549%22%20slang%3D%22en-US%22%3E%3CP%3EHi.%3C%2FP%3E%3CP%3EI%20use%20a%20similar%20API%20call%20as%20the%20example%20shown%20below%20for%20my%20Power%20Apps.%20The%20issuer%20in%20the%20development%20and%20production%20environment%20is%20not%20the%20same.%20Hence%20it%20makes%20sense%20to%20me%20to%20take%20that%20into%20consideration%20when%20establishing%20the%20connectors.%20However%2C%20I%20found%20out%20that%20I%20can%20write%20whatever%20I%20want%20as%20the%20issuer%2C%20and%20still%20get%20the%20desired%20outcome.%20Should%20that%20be%20the%20case%3F%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fusers%24select%3DdisplayName%2Cid%26amp%3B%24filter%3Didentities%2Fany(c%3Ac%2FissuerAssignedId%20eq%20'j.smith%40yahoo.com'%20and%20c%2Fissuer%20eq%20'contoso.onmicrosoft.com')%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Regular Visitor

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')

 

0 Replies