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

Wrong sharing link generated from a particular query #1991

Closed
Licantrop0 opened this issue Aug 2, 2022 · 1 comment · Fixed by #1993
Closed

Wrong sharing link generated from a particular query #1991

Licantrop0 opened this issue Aug 2, 2022 · 1 comment · Fixed by #1993
Assignees
Labels
priority:p1 High priority but not blocking. Causes major but not critical loss of functionality SLA <=7days. type:bug Something isn't working
Milestone

Comments

@Licantrop0
Copy link
Member

If you try to generate a sharing link for this query:

https://graph.microsoft.com/beta/groups?$count=true&$filter=resourceProvisioningOptions/Any(x:x+eq+%27Team%27) and owners/$count eq 0&$select=id,displayName,visibility,classification,description,expirationDateTime,assignedLabels
headers: consistencyLevel=eventual

Then the generated link returns this error:
image

To Reproduce

  1. Go to Graph Explorer
  2. Paste https://graph.microsoft.com/beta/groups?$count=true&$filter=resourceProvisioningOptions/Any(x:x+eq+%27Team%27) and owners/$count eq 0&$select=id,displayName,visibility,classification,description,expirationDateTime,assignedLabels
  3. Set headers consistencylevel=eventual
  4. Run query (see that works)
  5. Click the share button
  6. Copy the link
  7. Paste the link in another window

Expected behavior
the link is generated correctly

actual behavior
the url-decoded generated link is (see wrong $filter parameter)

https://developer.microsoft.com/en-us/graph/graph-explorer?
request=groups?
$count=true
&$filter=<unknown>+and++<unknown>+eq+<value>
&$select=id,displayName,visibility,classification,description,expirationDateTime,assignedLabels
&method=GET
&version=beta
&GraphUrl=https://graph.microsoft.com/
&headers=W3sibmFtZSI6IkNvbnNpc3RlbmN5TGV2ZWwiLCJ2YWx1ZSI6ImV2ZW50dWFsIn1d
@Onokaev
Copy link
Contributor

Onokaev commented Aug 3, 2022

This has been fixed. It's in the coming release

@Onokaev Onokaev closed this as completed Aug 3, 2022
@adhiambovivian adhiambovivian added type:bug Something isn't working priority:p1 High priority but not blocking. Causes major but not critical loss of functionality SLA <=7days. and removed Bug – P1 labels May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:p1 High priority but not blocking. Causes major but not critical loss of functionality SLA <=7days. type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants