Forum Discussion
Azure Local
i am trying to install Azure local on nested Hyper-V VM as test environment, 1 DC, 1 HCI VM and unfortunately i am stuck with an error:
"Type 'ValidateArcIntegration' of Role 'EnvironmentValidator' raised an exception: { "ExceptionType": "text", "ErrorMessage": "The provided account MSI@50342 does not have access to subscription ID \"7187cfd2-689c-4918-b43b-6e767d2bc1eb\". Please try logging in with different credentials or a different subscription ID. If a subscription is not specified, please check the configs by `Get-AzConfig`"
1 Reply
Try this:
- Verify Subscription Access
Make sure the MSI or the account you're using has Contributor or Owner access to the subscription:
- Go to Azure Portal
- Navigate to Subscriptions
- Select the subscription ID
- Under Access Control (IAM), check if the MSI or user account is listed with proper permissions
- Use Correct Credentials
If you're using a service principal or MSI:
- Try logging in with a user account that has access
- Run Connect-AzAccount and ensure you're authenticated to the correct subscription
- Check Active Subscription
Run this in PowerShell to confirm your active subscription:
Get-AzContext
If it's not the correct one, switch using:
Set-AzContext -SubscriptionId "7187cfd2-689c-4918-b43b-6e767d2bc1eb"
- Inspect Configuration
Run:
Get-AzConfig
This will show if your environment is pointing to the correct subscription and tenant.
- Retry Validation
Once access is confirmed, go back to the Azure Local deployment wizard and retry the validation step.