Skip to content
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

Resource Group Exist then Not Found #72

Open
oneslade opened this issue Feb 29, 2024 · 3 comments
Open

Resource Group Exist then Not Found #72

oneslade opened this issue Feb 29, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@oneslade
Copy link

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

resource group issue

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

resource group issue

Solution component

Deployment Script

Operating system (environment)

Windows

Additional Info

No response

@oneslade oneslade added the bug Something isn't working label Feb 29, 2024
@alexc-MSFT
Copy link
Collaborator

@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

@alexc-MSFT alexc-MSFT self-assigned this Mar 4, 2024
@KashifMajeed24
Copy link

I'm getting the same error. Was there any fix to this? I'm logged into correct tenant.

@KashifMajeed24
Copy link

@alexc-MSFT / @oneslade did you guys find any solution to this problem? I can't figure out what could be wrong...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants