-
Notifications
You must be signed in to change notification settings - Fork 273
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
Register-AzsWithMyDirectoryTenant fails #564
Comments
Hi @bitsharper, can you share more details? Does this consistently occur for you? Have you tried with other directories / accounts? Are you a CSP integrated with partner center or anything like that? I am not able to reproduce this issue on my end, especially on a query like this which is a GET call on a collection with some odata filter properties (if no objects are implicated by the filter, then the response should simply be an empty collection, not a 404). |
Hi keystroke, Thank you for your reply. |
Hi guys, My apologies, I would like to re-open this problem. I have tested from 2 different environments and when I run Register-AzsWithMyDirectoryTenant I am getting the same results: An error occurred while trying to make a graph API call: {"odata.error":{"code":"Request_ResourceNotFound","message":{"lang":"en","value":"Resource '' does not exist or one of its queried Additional details: { First part Register-AzsGuestDirectoryTenant completed without any issue. Then I am trying to run the second part and getting the error above. I simply run command from the documentation replacing $tenantARMEndpoint and $guestDirectoryTenantName _`$tenantARMEndpoint = "https://management.location.azurestack.domain" Register-AzsWithMyDirectoryTenant -TenantResourceManagerEndpoint $tenantARMEndpoint -DirectoryTenantName $guestDirectoryTenantName`_ We are csp and current azure stack version is 1908 presumably we started getting this error after we updated to 1908. |
Hi all,
Getting the following when trying to register a tenant.
An error occurred while trying to make a graph API call: {"odata.error":{"code":"Request_ResourceNotFound","message":{"lang":"en","value":"Resource '' does not exist or one of its queried reference-property objects are not
present."},"requestId":"3b109c48-bae5-40dd-8135-5b62b57dea11","date":"2020-04-09T10:31:05"}}
Additional details: {
"Method": "GET",
"ResponseUri": "https://graph.windows.net/ccstagetesting.onmicrosoft.com/oauth2PermissionGrants?%24filter=resourceId+eq+%27333bff02-629a-461a-a11f-7442b1be1f06%27+and+clientId+eq+%27a1afc375-73ec-4e71-8385-94c3486edc59%27&%24top=500&api-version=1.6",
"StatusCode": 404,
"StatusDescription": "Not Found",
"IsFromCache": false,
"LastModified": "/Date(1586428257413)/"
}
At C:\AzureStack-Tools-master\Identity\GraphAPI\GraphAPI.psm1:707 char:9
sent."},"requestId":"3b109c48-bae5-40dd-8135-5b62b57dea11","date":"2020-04-09T10:31:05"}}
Additional details: {
"Method": "GET",
"ResponseUri": "https://graph.windows.net/ccstagetesting.onmicrosoft.com/oauth2PermissionGrants?%24filter=resourceId+eq+%27333bff02-629a-461a-a11f-7442b1be1f06%27+and+clientId+eq+%27a1afc375-73ec-4e71-8385-94c3486edc59%27&%24top=500&api-version=1.
6",
"StatusCode": 404,
"StatusDescription": "Not Found",
"IsFromCache": false,
"LastModified": "/Date(1586428257413)/"
}
The text was updated successfully, but these errors were encountered: