Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot filter Azure B2C's applications by Description property #2552

Closed
mateuszkumpf opened this issue Jun 16, 2024 · 1 comment
Closed

Cannot filter Azure B2C's applications by Description property #2552

mateuszkumpf opened this issue Jun 16, 2024 · 1 comment
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned

Comments

@mateuszkumpf
Copy link

Description of problem
I am trying with Graph SDK but also GraphExplorer to filter applications by the "Description" property. Based on the documentation (https://learn.microsoft.com/en-us/graph/aad-advanced-queries?tabs=http#application-properties) this field is supported while trying to use this filter I get the error "Unsupported or invalid query filter clause specified for property 'description' of resource 'Application'.".

In both of the following cases, I receive the same error:
image
image

Expected behavior
The field is supported as stated in the documentation.

How to reproduce
Use url in GraphExplorer:
https://graph.microsoft.com/v1.0/applications?$filter=(description+eq+'1234')&$count=true
with header ConsistencyLevel=eventual

or use code:

var applications = await GraphClient.Applications
    .GetAsync(
        (requestConfiguration) =>
        {
            requestConfiguration.QueryParameters.Filter = $"description eq '1234'";
            requestConfiguration.QueryParameters.Count = true;
            requestConfiguration.Headers.Add("ConsistencyLevel", "eventual");
        },
        cancellationToken);

SDK Version
5.56.0

@mateuszkumpf mateuszkumpf added the status:waiting-for-triage An issue that is yet to be reviewed or assigned label Jun 16, 2024
@andrueastman
Copy link
Member

Thanks for raising this @mateuszkumpf

According to the documentation at https://learn.microsoft.com/en-us/graph/aad-advanced-queries?tabs=http#application-properties, advanced query capabilities are not supported for Azure AD B2C tenants.
image

Please feel free to upvote/provide feedback with regards to this at https://aka.ms/graphFeedback so that the API owners can look into prioritizing this.

We'll close this one for now as this is not actionable from the SDK side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned
Projects
None yet
Development

No branches or pull requests

2 participants