Hi @mekbeb worku - I see this question is many months old and I hope you got the answer regardless.
To offer the answer to anyone who may have the same question
The URL syntax to filter directory extensions on null
values for your scenario is:
GET https://graph.microsoft.com/v1.0/users?$select=extensionPropertyName&$filter=extensionPropertyName eq null&$count=true
ConsistencyLevel: eventual
HOWEVER, the use of $count
and the ConsistencyLevel header is advanced querying and isn't currently supported in Azure AD B2C. For more information, see Advanced query capabilities on Azure AD directory objects
There's an open feature request to support advanced query capabilities in Azure AD B2C. You can amplify your voice here The $count and $search parameters are currently not available in Azure AD B2C tenants or here https://aka.ms/MsGraphAADSurveyDocs