-
Notifications
You must be signed in to change notification settings - Fork 252
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
IdentityGovernance.EntitlementManagement.Catalogs[catalogId] generates incorrect URL #2527
Comments
Thanks for raising this @alvicode Any chance you can confirm if the error occurs on the first request when fetching the Line 43 in 9e37351
|
Thanks for the info @alvicode Any chance you can also share details on how you are setting/changing the baseUrl of the graphClient? From my end, I get the correct url when I try to check it as below as var requestInfo = graphClient.IdentityGovernance
.EntitlementManagement
.Catalogs["catalogId"]
.AccessPackages
.ToGetRequestInformation();
Console.WriteLine(requestInfo.URI.OriginalString);// |
I tested this and the value of |
Are you able to identify the differences when the call fails vs when its successful? The original error seems to suggest that a baseUrl with |
So I got some further information. It's whatever happens on the Graph API side that seems to be the problem. See below the Graph Explorer. |
Thanks for the extra information here. Just to confirm again. |
This happens for all requests to We did find a workaround though:
this works. |
Describe the bug
A call to IdentityGovernance.EntitlementManagement.Catalogs[catalogId] generates the following URL:
https://.......u.p.azurewebsites.net/api/v1/catalogs('458538bc-bfcd-4654-83e8-0d837baa833c')/accessPackages
Expected behavior
The correct url should be
https://.......u.p.azurewebsites.net/api/v1/identityGovernance/entitlementManagement/catalogs('458538bc-bfcd-4654-83e8-0d837baa833c')/accessPackages
How to reproduce
Authenticate and execute the call GraphClient
.IdentityGovernance
.EntitlementManagement
.Catalogs[catalogId]
.AccessPackages
.GetAsync()
SDK Version
5.55.0
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: