-
Notifications
You must be signed in to change notification settings - Fork 81
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
Cannot deploy Install-AzSKOrganizationPolicy with App insights location set... #195
Comments
Please use below parameter set for customized setup for Org Policy. Install-AzSKOrganizationPolicy -SubscriptionId <SUBID> -OrgName "<ORG-DEPT NAME>" -StorageAccountName "<storagename>" -ResourceGroupLocation westeurope -AppInsightLocation westeurope -MonitoringDashboardLocation westeurope -ResourceGroupName "<NAME>" -AppInsightName "<NAME>" -PolicyFolderPath "<C: PATH>"
|
Then, I get the same error as before... Have you actually tried that commandline? or do I have a strange version? (Just downloaded it last week) Install-AzSKOrganizationPolicy : Parameter set cannot be resolved using the specified named parameters.
|
Ahh, ok, didnt know the DepartmentName was not suppose to be on, ok, however now I get another error...
And, I tried to have 1 letter, 3 letters, 10 letters and one number in the storageaccount name, and even tried to remove characters from other parameters to a minimum to make sure the error message is relevant... ok more testing show that a numbers only in storage account works, hmm, I am however doubtful that this is a problem for AzSK maybe this is a problem connected to the Azure side instead after reading up on others having the same problem However, giving the storageaccount a name of for instance 123456, gives me an error:
|
It should work with unique alphanumeric name as storage account names are scoped globally across subscriptions. |
@Stoffe : Let us know if issue is resolved for you. |
Found a solution to @Stoffe problem. In case others have the same issue. If you receive the error:
You are using uppercase letters. Use all lowercase letters and this will work fine. Suggested a solution here: |
Title
Cannot deploy Install-AzSKOrganizationPolicy with App insights location set...
Description
Setting the -AppInsightLocation northeurope or westeurope will result in an error,
Install-AzSKOrganizationPolicy : Parameter set cannot be resolved using the specified named parameters.
Steps to reproduce
Call Install-AzSKOrganizationPolicy with a -AppInsightLocation of north or west europe.
Expected behavior
Should set AppInsights location to the north or west europe.
Actual behavior
Error, if this parameter is left out, the app insights will deploy to east US, which is not compliant for us.
The text was updated successfully, but these errors were encountered: