Skip to content

Commit ab683bb

Browse files
Merge pull request #294606 from b-ahibbard/azgov
USER STORY 372818: replace deprecated AzureAD PowerShell commands
2 parents 5309f7b + 23bc56a commit ab683bb

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

articles/azure-netapp-files/azure-government.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ description: Learn how to connect to Azure Government to use Azure NetApp Files
44
services: azure-netapp-files
55
author: b-hchen
66
ms.service: azure-netapp-files
7-
ms.custom: devx-track-azurecli, has-azure-ad-ps-ref
7+
ms.custom: devx-track-azurecli, no-azure-ad-ps-ref
88
ms.topic: conceptual
9-
ms.date: 07/17/2024
9+
ms.date: 02/13/2025
1010
ms.author: anfdocs
1111
---
1212

@@ -70,10 +70,11 @@ When you connect to Azure Government through PowerShell, you must specify an env
7070

7171
| Connection type | Command |
7272
| --- | --- |
73-
| [Azure](/powershell/module/az.accounts/Connect-AzAccount) commands |`Connect-AzAccount -EnvironmentName AzureUSGovernment` |
74-
| [Microsoft Entra ID](/powershell/module/azuread/connect-azuread) commands |`Connect-AzureAD -AzureEnvironmentName AzureUSGovernment` |
75-
| [Azure (Classic deployment model)](/powershell/module/servicemanagement/azure/add-azureaccount) commands |`Add-AzureAccount -Environment AzureUSGovernment` |
76-
| [Microsoft Entra ID (Classic deployment model)](/previous-versions/azure/jj151815(v=azure.100)) commands |`Connect-MsolService -AzureEnvironment UsGovernment` |
73+
| [Azure](/powershell/module/az.accounts/Connect-AzAccount) commands | `Connect-AzAccount -EnvironmentName AzureUSGovernment` |
74+
| [Microsoft Graph PowerShell](/powershell/microsoftgraph/authentication-commands) | `Connect-MgGraph -Environment USGov` |
75+
| [Microsoft Entra PowerShell](/powershell/module/microsoft.entra/connect-entra) | `Connect-Entra -Environment USGov` |
76+
| [Azure (Classic deployment model)](/powershell/module/servicemanagement/azure/add-azureaccount) commands | `Add-AzureAccount -Environment AzureUSGovernment` |
77+
| [Microsoft Entra ID (Classic deployment model)](/previous-versions/azure/jj151815(v=azure.100)) commands | `Connect-MsolService -AzureEnvironment UsGovernment` |
7778

7879
For more information, see [Connect to Azure Government with PowerShell](../azure-government/documentation-government-get-started-connect-with-ps.md).
7980

@@ -83,4 +84,4 @@ For more information, see [Connect to Azure Government with PowerShell](../azure
8384
* [What's new in Azure NetApp Files](whats-new.md)
8485
* [Compare Azure Government and global Azure](../azure-government/compare-azure-government-global-azure.md)
8586
* [Azure NetApp Files REST API](azure-netapp-files-develop-with-rest-api.md)
86-
* [Azure NetApp Files REST API using PowerShell](develop-rest-api-powershell.md)
87+
* [Azure NetApp Files REST API using PowerShell](develop-rest-api-powershell.md)

0 commit comments

Comments
 (0)