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
During configuration of PowerApps vnet injection, contiously got the following error message:
Script CreateSubnetInjectionEnterprisePolicy.ps1 is not changing Azure context to point to the right subscription, therefore the script does not find the right resourcegroup for creating the policy.
Please fix this.
I added Set-AzContext -SubscriptionId $subscriptionId to the script, and it created the context properly.
Thanks in advance!
G
The text was updated successfully, but these errors were encountered:
Hi,
During configuration of PowerApps vnet injection, contiously got the following error message:

Script CreateSubnetInjectionEnterprisePolicy.ps1 is not changing Azure context to point to the right subscription, therefore the script does not find the right resourcegroup for creating the policy.
Please fix this.
I added Set-AzContext -SubscriptionId $subscriptionId to the script, and it created the context properly.
Thanks in advance!
G
The text was updated successfully, but these errors were encountered: