Azure / Azure/AzureStack-Tools

Register-AzsWithMyDirectoryTenant fails

Ouverte
#564 3 commentaires 0 réactions 1 personne assignée Réclamée par @keystroke Voir sur GitHub
Langage dominant
PowerShell
Étoiles
260
Forks
283
Merge moyen
2 h 11 min
PR mergées (30 j)
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)\/"
}

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.