Azure / AzureStackHCI-EvalGuide

Welcome to the Azure Stack HCI Evaluation Guide!
Creative Commons Attribution 4.0 International
142 stars 84 forks source link

Access denied when running "get-azurestackhci" on MGMT node #60

Closed marcoarroyo41 closed 3 years ago

marcoarroyo41 commented 3 years ago

Hi Matt,

Thoughts on why AZSHCINODE01 might be denying MGMT access?

Capture

marcoarroyo41 commented 3 years ago

Also this error please! Capture

mattmcspirit commented 3 years ago

For the first one, please check you're logged into MGMT01 as domain\labadmin - you can also try passing your credentials directly in the Invoke-Command by using the -Credential:

Invoke-Command -ComputerName Server01 -Credential Domain01\User01 -ScriptBlock { }

For the second one, this is a bug that's currently being worked on. The registration should still complete successfully and you can check by running Get-AzureStackHCI on one of the nodes and it should show as registered.

If you don't want to see the error, you should be able to use:

-EnableAzureArcServer:$false

at the end of your registration command.