Sandbox deployment fails when configuring resource Microsoft.EventHub/namespaces/eventhubs/providers/roleAssignments
fix-healthcare opened this issue · 0 comments
Followed the steps provided for Sandbox deployment.
Running the powershell script ".\Create-IomtFhirSandboxEnvironment.ps1 -EnvironmentName " generates the following error (most likely occurs only when Azure AD tenant used for app registration is different than tenant tied to your Azure subscription):
New-AzResourceGroupDeployment : 1:00:10 PM - Resource
Microsoft.EventHub/namespaces/eventhubs/providers/roleAssignments
'/normalizeddata/Microsoft.Authorization/3babe616-4482-5441-b294-f0c34074cff7' failed with message '{
"error": {
"code": "PrincipalNotFound",
"message": "Principal 5df336353f664ca5a07aabe547689ad3 does not exist in the directory
72f988bf-86f1-41af-91ab-2d7cd011db47."
}
}'
At \iomt-fhir\deploy\scripts\Create-IomtFhirSandboxEnvironment.ps1:114 char:1
- New-AzResourceGroupDeployment -TemplateFile $sandboxTemplate -Resourc ...
-
+ CategoryInfo : NotSpecified: (:) [New-AzResourceGroupDeployment], Exception + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet