Comments (5)
I went ahead, deleted and re-run Install-AzSKContinuousAssurance
, but I got the same thing all over again:
Status: Failed. AZSK module is not available in automation account.
To resolve this please run command 'Remove-AzSKContinuousAssurance' followed by 'Install-AzSKContinuousAssurance'�
I do not know what is causing a setup to fail. There is no detailed debug output.
from devopskit.
Loaded all AzSK dependency modules manually, under my automation account. Still cannot import AzSK
module because it is complaining that This module has dependencies that are not present in this account. All dependencies must be present before this module can be imported.
Example:
This module has dependencies that are not present in this account. All dependencies must be present before this module can be imported.
Dependencies:
Az.Accounts (= 1.6.0)
Az.Storage (= 1.5.0)
Az.AnalysisServices (= 1.1.0)
Az.ApiManagement (= 1.2.0)
Az.ApplicationInsights (= 1.0.0)
Az.Automation (= 1.3.0)
Az.Batch (= 1.1.0)
Az.Cdn (= 1.3.0)
Az.Compute (= 2.4.0)
Az.DataFactory (= 1.1.2)
Az.DataLakeAnalytics (= 1.0.0)
Az.DataLakeStore (= 1.2.1)
Az.EventHub (= 1.2.0)
Az.HDInsight (= 2.0.0)
Az.Monitor (= 1.2.1)
Az.KeyVault (= 1.2.0)
Az.LogicApp (= 1.2.1)
Az.Network (= 1.11.0)
Az.NotificationHubs (= 1.1.0)
Az.OperationalInsights (= 1.3.1)
Az.PolicyInsights (= 1.1.2)
Az.RedisCache (= 1.1.0)
Az.Resources (= 1.6.0)
Az.ServiceBus (= 1.2.1)
Az.ServiceFabric (= 1.1.1)
Az.Sql (= 1.13.0)
Az.StreamAnalytics (= 1.0.0)
Az.TrafficManager (= 1.0.1)
Az.Websites (= 1.3.0)
Az.ContainerInstance (= 1.0.1)
Az.ContainerRegistry (= 1.0.1)
However, I did check and I do have all dependency modules Available
under this automation account. However, I cannot import AzSK
module, as it is greyed out...
from devopskit.
I was able to import AzSK from powershell gallery and uploading to automation:
Importing AzSK from Azure gallery has failed repeatedly, even though dependencies were satisfied.
from devopskit.
Can you please go to Continuous_Assurance_Runbook in AzSKRG and see if any error is reported there. Usually it installs AzSK module after completing 4-5 iterations of the runbook jobs. If no error and you don't see as many iterations, you can manually trigger them multiple times using the 'play' icon at the toprather than waiting for 2 hrs. If it still doesn't succeed, please share the errors that you see in the runbook log.
from devopskit.
Thanks @ganesh-msft for your prompt comment. I solved the problem using the following:
-
I had to make sure that my account had
owner
on subscription. This however is a bit difficult to achieve because we have different subscriptions owned by different teams and havingowner
on subscription is very hard bargain that one has to pull. Havingowner
on subscription is under very ideal situations which is far from realities of production environment. -
I had to manually push AzSK using https://www.powershellgallery.com/packages/AzSK/3.15.0 and selecting
Deploy to Azure Automation
. Selecting AzSK off Azure gallery and selectingimport
never worked due to module dependencies.
Once these two obstacles overcame, AzSK Continuous Assurance was installed without a problem.
Thanks a lot.
Alex
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.