Skip to content
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

CA: Error importing module AzSK #553

Open
EvgeniaMartynova opened this issue May 10, 2019 · 3 comments
Open

CA: Error importing module AzSK #553

EvgeniaMartynova opened this issue May 10, 2019 · 3 comments

Comments

@EvgeniaMartynova
Copy link

EvgeniaMartynova commented May 10, 2019

Title

CA: Error importing module AzSK

Description

When installing a CA solution for a subscription very often importing AzSK module fails.
To fix it you need to reinstall the CA for the subscription.
AzSKImportingModuleFailed

Steps to reproduce

Install-AzSKContinuousAssurance -SubscriptionId <SubscriptionId> `
	        -ResourceGroupNames <ResourceGroupNames> `
	        -OMSWorkspaceId <WorkspaceId> `
	        -OMSSharedKey <SharedKey> 

Expected behavior

AzSK module status is Available

Actual behavior

AzSK module status is Failed

@Khushboo-msft
Copy link
Contributor

@EvgeniaMartynova Could you please check if you are able to import the AzSK module successfully in a local PowerShell session?
For that, try running the following command in a PowerShell ISE console:
Import-Module AzSK

@EvgeniaMartynova
Copy link
Author

EvgeniaMartynova commented May 17, 2019

@Khushboo-msft, locally the command executes successfully.
InstallAzSKLocally

@Khushboo-msft
Copy link
Contributor

@EvgeniaMartynova Could you please zip and share the detailed logs generated when you tried to install CA using the command mentioned under Steps to reproduce (Install-AzSKContinuousAssurance).

Also, please let us know if by any chance you were trying to manually upload the module using the following option on the portal:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants