Skip to content

Commit 9edf7c0

Browse files
Merge pull request #243739 from CocoWang-wql/patch-37
Update azure-ad-integration-cli.md
2 parents d340612 + dc02fb5 commit 9edf7c0

File tree

1 file changed

+47
-1
lines changed

1 file changed

+47
-1
lines changed

articles/aks/azure-ad-integration-cli.md

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to use the Azure CLI to create and Azure Active Directory
44
author: TomGeske
55
ms.topic: article
66
ms.custom: devx-track-azurecli
7-
ms.date: 06/05/2023
7+
ms.date: 07/07/2023
88
ms.author: miwithro
99
---
1010

@@ -243,6 +243,51 @@ error: You must be logged in to the server (Unauthorized)
243243
* Secret defined in the application registration for server matches the value configured using `--aad-server-app-secret`
244244
* Be sure that only one version of kubectl is installed on your machine at a time. Conflicting versions can cause issues during authorization. To install the latest version, use [az aks install-cli][az-aks-install-cli].
245245

246+
## Frequently asked questions about migration from Azure Active Directory Integration to AKS-managed Azure Active Directory
247+
248+
**1. What is the plan for migration?**
249+
250+
Azure Active Directory Integration (legacy) will be deprecated on 1st June 2023. After this date, you won't be able to create new clusters with Azure Active Directory (legacy). We'll migrate all Azure Active Directory Integration (legacy) AKS clusters to AKS-managed Azure Active Directory automatically starting from 1st August 2023.
251+
We send notification emails to impacted subscription admins biweekly to remind them of migration.
252+
253+
**2. What will happen if I don't take any action?**
254+
255+
Your Azure Active Directory Integration (legacy) AKS clusters will continue working after 1st June 2023. We'll automatically migrate your clusters to AKS-managed Azure Active Directory starting from 1st August 2023. You may experience API server downtime during the migration.
256+
257+
The kubeconfig content changes after the migration. You need to merge the new credentials into the kubeconfig file using the `az aks get-credentials --resource-group <AKS resource group name> --name <AKS cluster name>`.
258+
259+
We recommend updating your AKS cluster to [AKS-managed Azure Active Directory][managed-aad-migrate] manually before 1st August. This way you can manage the downtime during non-business hours when it's more convenient.
260+
261+
**3. Why do I still receive the notification email after manual migration?**
262+
263+
It takes several days for the email to send. If your cluster wasn't migrated before we initiate the email-sending process, you may still receive a notification.
264+
265+
**4. How can I check whether my cluster my cluster is migrated to AKS-managed Azure Active Directory?**
266+
267+
Confirm your AKS cluster is migrated to the AKS-managed Azure Active Directory using the [`az aks show`][az-aks-show] command.
268+
269+
```azurecli
270+
az aks show -g <RGName> -n <ClusterName> --query "aadProfile"
271+
```
272+
273+
If your cluster is using the AKS-managed Azure Active Directory, the output shows `managed` is `true`. For example:
274+
275+
```output
276+
{
277+
"adminGroupObjectIDs": [
278+
"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
279+
],
280+
"adminUsers": null,
281+
"clientAppId": null,
282+
"enableAzureRbac": null,
283+
"managed": true,
284+
"serverAppId": null,
285+
"serverAppSecret": null,
286+
"tenantId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
287+
}
288+
```
289+
290+
246291
## Next steps
247292

248293
For the complete script that contains the commands shown in this article, see the [Azure AD integration script in the AKS samples repo][complete-script].
@@ -282,3 +327,4 @@ For best practices on identity and resource control, see [Best practices for aut
282327
[azure-ad-rbac]: azure-ad-rbac.md
283328
[managed-aad]: managed-azure-ad.md
284329
[managed-aad-migrate]: managed-azure-ad.md#upgrade-a-legacy-azure-ad-cluster-to-aks-managed-azure-ad-integration
330+
[az-aks-show]: /cli/azure/aks#az_aks_show

0 commit comments

Comments
 (0)