You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the Deploy.ps1, the resource Group is identified as existing. Next step Deploying key vault and automation account the Resource group could not be found
Steps to reproduce
1.Ran Deploy.ps1
2.Created SharePoint Site
3.Confirmed provided Resource Group Exist - Y
4.Screen confirms ResourceGroupName
5.Created resource group
6.Deploying Azure resources
7.Deploying key vault and automation account
8 Error message as attached deploy.ps1 stops
Expected results
The resourcegroup to be updated with the relevant objects
Actual Results
error message as attached
Solution component
Deployment Script
Operating system (environment)
Windows
Additional Info
No response
The text was updated successfully, but these errors were encountered:
@oneslade can you double check that when you ran the script you logged into the correct tenant when it was logging into the Azure CLI? It might be that it's looking for that resource group in the wrong tenant (the resource group check actually uses a different module to the creation of resources). Thanks
@oneslade@KashifMajeed24 I'm not sure if this is helpful but we have made lots of changes to the deployment script as part of recent updates and have transitioned to PowerShell 7 where we have tweaked the CLI login, it should now ask you to select the subscription when running the script and this should eliminate this error.
Description
Running the Deploy.ps1, the resource Group is identified as existing. Next step Deploying key vault and automation account the Resource group could not be found
Steps to reproduce
1.Ran Deploy.ps1
2.Created SharePoint Site
3.Confirmed provided Resource Group Exist - Y
4.Screen confirms ResourceGroupName
5.Created resource group
6.Deploying Azure resources
7.Deploying key vault and automation account
8 Error message as attached deploy.ps1 stops
Expected results
The resourcegroup to be updated with the relevant objects
Actual Results
error message as attached
Solution component
Deployment Script
Operating system (environment)
Windows
Additional Info
No response
The text was updated successfully, but these errors were encountered: