Comments (7)
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>"
from devopskit.
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.
At line:1 char:1
- Install-AzSKOrganizationPolicy -SubscriptionId 097edece-e071-4747-a27 ...
-
+ CategoryInfo : InvalidArgument: (:) [Install-AzSKOrganizationPolicy], ParameterBindingException + FullyQualifiedErrorId : AmbiguousParameterSet,Install-AzSKOrganizationPolicy
from devopskit.
The given parameter set works for me with version 3.5.0
Make sure you are not using "-DepartmentName" in your command. That is the only parameter not supported for custom resources setup for Org policy.
If this is not helping out, you can try executing command using PowerShell ISE command window
from devopskit.
Ahh, ok, didnt know the DepartmentName was not suppose to be on, ok, however now I get another error...
InvalidArgument: Only alphanumeric characters are supported in StorageAccountName param. And length should be less than 24 characters
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:
The storage account named 123456 is already taken. Parameter name: Name Failed to create storage account [123456]
from devopskit.
It should work with unique alphanumeric name as storage account names are scoped globally across subscriptions.
from devopskit.
@Stoffe : Let us know if issue is resolved for you.
from devopskit.
Found a solution to @Stoffe problem. In case others have the same issue. If you receive the error:
InvalidArgument: Only alphanumeric characters are supported in StorageAccountName param. And length should be less than 24 characters
You are using uppercase letters. Use all lowercase letters and this will work fine. Suggested a solution here:
from devopskit.
Related Issues (20)
- Feature Request exclude passed controli ds from log
- Override values for Azsk.Azdo
- Support AzSKARMTemplateChecker task on Ubuntu agent HOT 1
- Secure DevOps Kit (AzSK) CICD Extensions - AzSKARMTemplateChecker task fails if template does not contain supported resources HOT 2
- Fail to upgrade Org Policy with AzSK from 4.4.0 to 4.10.0 HOT 3
- Azure_Storage_DP_Encrypt_In_Transit Failing unused property in Storage Account Blobservices ARM Template HOT 1
- Not showing azsk monitoring solution in Azure log analytics workspace HOT 1
- Azure_AppService_Audit_Enable_Logging_and_Monitoring fails when two Diagnostics settings are configured, but only one has all required logs enabled HOT 2
- Bypass 'Get-AzSKAzureServicesSecurityStatus' cmdlet's confirmation prompt for attestation HOT 2
- AzSK version 4.12 Security Status Report does not create SecurityEvaluationData json
- Module not catalog signed HOT 1
- AzSK 4.14 Install-AzSKContinuousAssuranceForCluster: Any way to run in a non-interactive mode
- Installation error HOT 1
- Logic app accesscontrol validations HOT 1
- Enable Eventhub output for Central CAs HOT 2
- Support for Azure Blueprints? HOT 1
- AzTS exceptions - System.ArgumentException: Requested value 'CDN' was not found. HOT 2
- Intermittent Error Thrown-Unable to deserialize the response. HOT 5
- APIM ARM template generated using Azure CLI dotnet command is giving error while deploying through Azure devops
- ARMTemplateChecker - Enable Azure AD admin for the SQL Database - False positive with linked templates HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devopskit.