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

Creating AD group with length greater than 120 chars #159

Closed
aloysiustany opened this issue Jul 8, 2017 · 4 comments
Closed

Creating AD group with length greater than 120 chars #159

aloysiustany opened this issue Jul 8, 2017 · 4 comments

Comments

@aloysiustany
Copy link

When I call _activeDirectoryClient.Groups.AddGroupAsync(group) where group's displayname is larger than 120 char, it throws the following exception:

Microsoft.Data.OData.ODataErrorException: Unsupported or invalid query filter clause specified for property 'displayName' of resource 'Group'. ---> System.Data.Services.Client.DataServiceQueryException: An error occurred while processing this request. ---> System.Data.Services.Client.DataServiceClientException: {"odata.error":{"code":"Request_UnsupportedQuery","message":{"lang":"en","value":"Unsupported or invalid query filter clause specified for property 'displayName' of resource 'Group'."}}} at System.Data.Services.Client.BaseAsyncResult.EndExecute[T](Object source, String method, IAsyncResult asyncResult) at System.Data.Services.Client.QueryResult.EndExecuteQuery[TElement](Object source, String method, IAsyncResult asyncResult)

@caitlinrussell
Copy link
Contributor

This looks like it might be an issue with AAD Graph, not Microsoft Graph: https://www.nuget.org/packages/Microsoft.Azure.ActiveDirectory.GraphClient/

Could you verify which package you are using?

@aloysiustany
Copy link
Author

@Cbales yes I am using AAD Graph client. Should I post this elsewhere ?

@caitlinrussell
Copy link
Contributor

This is not the repository for the AAD Graph client. Unfortunately, I don't believe the AAD Graph repo is open sourced. Your best bet is to ask a question on StackOverflow and tag azure-ad-graph-api

@aloysiustany
Copy link
Author

Thanks.. Posted it here.

@ghost ghost locked as resolved and limited conversation to collaborators Feb 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants