![](https://it-infrastructure.solutions/content/images/2022/05/image-58.png)
This article has not been completed yet. However, it may already contain helpful Information and therefore it has been published at this stage
# Connect to Azure
Connect-AzAccount
# Connect to Azure with MFA
Connect-AzAccount -TenantId <Tenant Id>
![](https://it-infrastructure.solutions/content/images/2022/05/image-46.png)
![](https://it-infrastructure.solutions/content/images/2022/05/image-48.png)
![](https://it-infrastructure.solutions/content/images/2022/05/image-50.png)
# Set Subscription Context
Set-AzContext -Subscription "<Subscription>"
![](https://it-infrastructure.solutions/content/images/2022/05/image-51.png)
# Register Provider
Register-AzResourceProvider -ProviderNamespace Microsoft.Kubernetes
Register-AzResourceProvider -ProviderNamespace Microsoft.KubernetesConfiguration
Register-AzResourceProvider -ProviderNamespace Microsoft.ExtendedLocation
![](https://it-infrastructure.solutions/content/images/2022/05/image-52.png)
# Connect to Azure Arc using the Aks-Hci PowerShell module
Enable-AksHciArcConnection -name <clustername>
![](https://it-infrastructure.solutions/content/images/2022/05/image-53.png)
![](https://it-infrastructure.solutions/content/images/2022/05/image-55.png)
![](https://it-infrastructure.solutions/content/images/2022/05/image-56.png)
![](https://it-infrastructure.solutions/content/images/2022/05/image-57.png)
References:
Connect an Azure Kubernetes Service on Azure Stack HCI cluster to Azure Arc-enabled Kubernetes - AKS-HCI
Connect an Azure Kubernetes Service on Azure Stack HCI cluster to Azure Arc-enabled Kubernetes
![](https://docs.microsoft.com/en-us/media/logos/logo-ms-social.png)