Azure / Azure/AzureStack-Tools

Register-AzsWithMyDirectoryTenant fails

Open
#564 3 comments 0 reactions 1 assignee Claimed by @keystroke View on GitHub
Dominant language
PowerShell
Stars
260
Forks
283
Avg merge
2h 11m
Merged PRs (30d)
1

Description

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
+ throw New-Object System.InvalidOperationException($traceMessa ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [], InvalidOperationException
+ FullyQualifiedErrorId : 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 pre
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)\/"
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.