Skip to content

Commit 255aec0

Browse files
authored
Merge pull request Azure#989 from cnotin/patch-2
Enable-AzureADDirectoryRole is implemented by New-MgDirectoryRole, not New-MgDirectoryRoleTemplate
2 parents a861e21 + 5fca8d1 commit 255aec0

File tree

12 files changed

+45
-32
lines changed

12 files changed

+45
-32
lines changed

azureadps-1.0/MSOnline/AzureActiveDirectory.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ ms.custom: iamfeature=PowerShell
1313
## Description
1414

1515
>[!IMPORTANT]
16-
> Azure AD Powershell is planned for deprecation on **March 30, 2024**. For more details on the deprecation plans, see the [deprecation update](https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270). We encourage you to continue migrating to [Microsoft Graph PowerShell](/powershell/microsoftgraph/overview), which is the recommended module for interacting with Azure AD. In addition, Microsoft Graph PowerShell allows you access to all Microsoft Graph APIs and is available on PowerShell 7. For answers to frequent migration queries, see the [Migration FAQ](migration-faq.yml).
16+
> Azure AD and MSOnline PowerShell modules are deprecated as of March 30, 2024. To learn more, read the [deprecation update](https://techcommunity.microsoft.com/t5/microsoft-entra-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270). After this date, support for these modules are limited to migration assistance to Microsoft Graph PowerShell SDK and security fixes. The deprecated modules will continue to function through March, 30 2025.
17+
>
18+
> We recommend migrating to [Microsoft Graph PowerShell](/powershell/microsoftgraph/overview) to interact with Microsoft Entra ID (formerly Azure AD). For common migration questions, refer to the [Migration FAQ](/powershell/azure/active-directory/migration-faq). *Note:* Versions 1.0.x of MSOnline may experience disruption after June 30, 2024.
1719
1820
For more detail info on installation of the AzureAD cmdlets please see: [Azure ActiveDirectory (MSOnline)](/powershell/azure/active-directory/overview?view=azureadps-1.0&preserve_view=true).
1921

azureadps-1.0/MSOnline/Set-MsolDomainAuthentication.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ Set-MsolDomainAuthentication -DomainName <String> -Authentication <DomainAuthent
2020
[-PassiveLogOnUri <String>] [-ActiveLogOnUri <String>] [-IssuerUri <String>] [-FederationBrandName <String>]
2121
[-MetadataExchangeUri <String>] [-PreferredAuthenticationProtocol <AuthenticationProtocol>]
2222
[-SupportsMfa <Boolean>] [-DefaultInteractiveAuthenticationMethod <String>]
23-
[-OpenIdConnectDiscoveryEndpoint <String>] [-SigningCertificate
24-
Status <SigningCertificateUpdateStatus>]
23+
[-OpenIdConnectDiscoveryEndpoint <String>] [-SigningCertificateUpdateStatus <SigningCertificateUpdateStatus>]
2524
[-PromptLoginBehavior <PromptLoginBehavior>] [-TenantId <Guid>] [<CommonParameters>]
2625
```
2726

azureadps-2.0-preview/AzureAD/AzureADPreview.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ Locale: en-US
1010
## Description
1111

1212
>[!IMPORTANT]
13-
> Azure AD PowerShell is planned for deprecation. For more details on the deprecation plans, see the [deprecation update](https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270). You can start trying [Microsoft Graph PowerShell](/powershell/microsoftgraph/overview) to interact with Azure AD as you would in Azure AD PowerShell. In addition, Microsoft Graph PowerShell allows you access to all Microsoft Graph APIs and is available on PowerShell 7. For answers to frequent migration queries, see the [migration FAQ](../../docs-conceptual/azureadps-2.0/migration-faq.yml).
13+
> Azure AD and MSOnline PowerShell modules are deprecated as of March 30, 2024. To learn more, read the [deprecation update](https://techcommunity.microsoft.com/t5/microsoft-entra-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270). After this date, support for these modules are limited to migration assistance to Microsoft Graph PowerShell SDK and security fixes. The deprecated modules will continue to function through March, 30 2025.
14+
>
15+
> We recommend migrating to [Microsoft Graph PowerShell](/powershell/microsoftgraph/overview) to interact with Microsoft Entra ID (formerly Azure AD). For common migration questions, refer to the [Migration FAQ](/powershell/azure/active-directory/migration-faq). *Note:* Versions 1.0.x of MSOnline may experience disruption after June 30, 2024.
1416
1517
The Azure Active Directory PowerShell for Graph Preview module can be downloaded and installed from the PowerShell Gallery, www.powershellgallery.com. The gallery uses the PowerShellGet module. The PowerShellGet module requires PowerShell 3.0 or newer and requires one of the following operating systems:
1618

azureadps-2.0-preview/AzureAD/Get-AzureADAuditSignInLogs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This command gets all sign in logs on or after 3/20/2019
3434
### Example 2: Get sign in logs for a user or application
3535
```
3636
PS C:\>Get-AzureADAuditSignInLogs -Filter "startsWith(userPrincipalName,'[email protected]')"
37-
PS C:\>Get-AzureADAuditSignInLogs -Filter "userDisplayName eq 'Jean Niyomugabo '"
37+
PS C:\>Get-AzureADAuditSignInLogs -Filter "userDisplayName eq 'Jean Niyomugabo'"
3838
PS C:\>Get-AzureADAuditSignInLogs -Filter "appId eq 'de8bc8b5-d9f9-48b1-a8ad-b748da725064'"
3939
PS C:\>Get-AzureADAuditSignInLogs -Filter "appDisplayName eq 'myApp'"
4040
```

azureadps-2.0/AzureAD/AzureActiveDirectory.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ ms.custom: iamfeature=PowerShell
1313
## Description
1414

1515
>[!IMPORTANT]
16-
> Azure AD PowerShell is planned for deprecation. For more details on the deprecation plans, see the [deprecation update](https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270). You can start trying [Microsoft Graph PowerShell](/powershell/microsoftgraph/overview) to interact with Azure AD as you would in Azure AD PowerShell. In addition, Microsoft Graph PowerShell allows you access to all Microsoft Graph APIs and is available on PowerShell 7. For answers to frequent migration queries, see the [migration FAQ](../../docs-conceptual/azureadps-2.0/migration-faq.yml).
16+
> Azure AD and MSOnline PowerShell modules are deprecated as of March 30, 2024. To learn more, read the [deprecation update](https://techcommunity.microsoft.com/t5/microsoft-entra-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270). After this date, support for these modules are limited to migration assistance to Microsoft Graph PowerShell SDK and security fixes. The deprecated modules will continue to function through March, 30 2025.
17+
>
18+
> We recommend migrating to [Microsoft Graph PowerShell](/powershell/microsoftgraph/overview) to interact with Microsoft Entra ID (formerly Azure AD). For common migration questions, refer to the [Migration FAQ](/powershell/azure/active-directory/migration-faq). *Note:* Versions 1.0.x of MSOnline may experience disruption after June 30, 2024.
19+
1720

1821
The Azure Active Directory PowerShell for Graph module can be downloaded and installed from the [PowerShell Gallery](https://www.powershellgallery.com/packages/AzureAD/). The gallery uses the PowerShellGet module. The PowerShellGet module requires PowerShell 3.0 or newer and requires one of the following operating systems:
1922

azureadps-2.0/AzureAD/New-AzureADApplicationKeyCredential.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ PS C:\> $bin = $cer.GetRawCertData()
5050
PS C:\> $base64Value = [System.Convert]::ToBase64String($bin)
5151
PS C:\> $bin = $cer.GetCertHash()
5252
PS C:\> $base64Thumbprint = [System.Convert]::ToBase64String($bin)
53-
PS C:\> $keyid = [System.Guid]::NewGuid().ToString()
54-
PS C:\> New-AzureADApplicationKeyCredential -ObjectId $keyid -CustomKeyIdentifier $base64Thumbprint -Type AsymmetricX509Cert -Usage Verify -Value $base64Value -StartDate $cer.GetEffectiveDateString() -EndDate $cer.GetExpirationDateString()
53+
54+
PS C:\> New-AzureADApplicationKeyCredential -ObjectId $AppID -CustomKeyIdentifier $base64Thumbprint -Type AsymmetricX509Cert -Usage Verify -Value $base64Value -StartDate $cer.GetEffectiveDateString() -EndDate $cer.GetExpirationDateString()
5555
```
5656

5757
The first seven commands create values for the application key credential and stores them in variables.
5858

59-
The final command uses a certificate to add an application key credential.
59+
The final command adds the key credential to the application.
6060

6161
## PARAMETERS
6262

azureadps-2.0/AzureAD/migrate/Enable-AzureADDirectoryRole.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This article provides migration details from Enable-AzureADDirectoryRole command
1919

2020
+ Azure AD Command: [Enable-AzureADDirectoryRole](/powershell/module/azuread/enable-azureaddirectoryrole)
2121
+ Azure AD Module: AzureAD
22-
+ Microsoft Graph Command: [New-MgDirectoryRoleTemplate](/powershell/module/microsoft.graph.identity.directorymanagement/new-mgdirectoryroletemplate) ([Community Examples](https://github.com/orgs/msgraph/discussions?discussions_q=New-MgDirectoryRoleTemplate))
22+
+ Microsoft Graph Command: [New-MgDirectoryRole](/powershell/module/microsoft.graph.identity.directorymanagement/new-mgdirectoryrole) ([Community Examples](https://github.com/orgs/msgraph/discussions?discussions_q=New-MgDirectoryRole))
2323
+ Graph Module: Microsoft.Graph.Identity.DirectoryManagement
2424
+ Graph Endpoint: POST /directoryRoles
2525

@@ -33,4 +33,4 @@ View more [details on permissions](/graph/api/directoryrole-post-directoryroles#
3333

3434
|Azure AD Name|Microsoft Graph Name|
3535
|---|---|
36-
|RoleTemplateId|roleTemplateId|
36+
|RoleTemplateId|roleTemplateId|

docs-conceptual/azureadps-1.0/install-msonlinev1.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ ms.custom: posh-docs-conceptual
1212
---
1313
# Azure Active Directory (MSOnline)
1414

15-
>[!IMPORTANT]
16-
> MSOnline is planned for deprecation on **March 30, 2024**. For more details on the deprecation plans, see the [deprecation update](https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/microsoft-entra-new-feature-and-change-announcements/ba-p/3796396). We encourage you to continue migrating to [Microsoft Graph PowerShell](/powershell/microsoftgraph/overview), which is the recommended module for interacting with Azure AD. In addition, Microsoft Graph PowerShell allows you access to all Microsoft Graph APIs and is available on PowerShell 7. For answers to frequent migration queries, see the [Migration FAQ](../azureadps-2.0/migration-faq.yml).
15+
> Azure AD and MSOnline PowerShell modules are deprecated as of March 30, 2024. To learn more, read the [deprecation update](https://techcommunity.microsoft.com/t5/microsoft-entra-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270). After this date, support for these modules are limited to migration assistance to Microsoft Graph PowerShell SDK and security fixes. The deprecated modules will continue to function through March, 30 2025.
16+
>
17+
> We recommend migrating to [Microsoft Graph PowerShell](/powershell/microsoftgraph/overview) to interact with Microsoft Entra ID (formerly Azure AD). For common migration questions, refer to the [Migration FAQ](/powershell/azure/active-directory/migration-faq). *Note:* Versions 1.0.x of MSOnline may experience disruption after June 30, 2024.
18+
1719

1820
You can use MSOnline for Azure AD administrative tasks such as user management, domain management and for configuring single sign-on.
1921
This topic includes information about how to install these cmdlets for use with your directory.
@@ -71,4 +73,4 @@ Notepad c:\MsolHelp\msolcmdlets.txt
7173

7274
## See also
7375

74-
- [Install the Microsoft Graph PowerShell SDK](/powershell/microsoftgraph/installation?view=graph-powershell-1.0&preserve-view=true)
76+
- [Install the Microsoft Graph PowerShell SDK](/powershell/microsoftgraph/installation?view=graph-powershell-1.0&preserve-view=true)

docs-conceptual/azureadps-1.0/overview.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ ms.custom: posh-docs-conceptual
1616
# Azure Active Directory (MSOnline)
1717

1818
>[!IMPORTANT]
19-
> MSOnline is planned for deprecation on **March 30, 2024**. For more details on the deprecation plans, see the [deprecation update](https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270). We encourage you to continue migrating to [Microsoft Graph PowerShell](/powershell/microsoftgraph/overview), which is the recommended module for interacting with Azure AD. In addition, Microsoft Graph PowerShell allows you access to all Microsoft Graph APIs and is available on PowerShell 7. For answers to frequent migration queries, see the [Migration FAQ](../azureadps-2.0/migration-faq.yml).
19+
> Azure AD and MSOnline PowerShell modules are deprecated as of March 30, 2024. To learn more, read the [deprecation update](https://techcommunity.microsoft.com/t5/microsoft-entra-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270). After this date, support for these modules are limited to migration assistance to Microsoft Graph PowerShell SDK and security fixes. The deprecated modules will continue to function through March, 30 2025.
20+
>
21+
> We recommend migrating to [Microsoft Graph PowerShell](/powershell/microsoftgraph/overview) to interact with Microsoft Entra ID (formerly Azure AD). For common migration questions, refer to the [Migration FAQ](/powershell/azure/active-directory/migration-faq). *Note:* Versions 1.0.x of MSOnline may experience disruption after June 30, 2024.
2022
2123
You can use MSOnline cmdlets for Azure AD administrative tasks such as user management, domain management and for configuring single sign-on.
2224
This topic includes information about how to install these cmdlets for use with your directory.

docs-conceptual/azureadps-2.0-preview/overview.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ ms.custom: posh-docs-conceptual
1111
# Azure Active Directory PowerShell for Graph
1212

1313
>[!IMPORTANT]
14-
> Azure AD Powershell is planned for deprecation on **March 30, 2024**. For more details on the deprecation plans, see the [deprecation update](https://techcommunity.microsoft.com/t5/microsoft-entra-azure-ad-blog/microsoft-entra-new-feature-and-change-announcements/ba-p/3796396). We encourage you to continue migrating to [Microsoft Graph PowerShell](/powershell/microsoftgraph/overview), which is the recommended module for interacting with Azure AD. In addition, Microsoft Graph PowerShell allows you access to all Microsoft Graph APIs and is available on PowerShell 7. For answers to frequent migration queries, see the [Migration FAQ](../azureadps-2.0/migration-faq.yml).
14+
> Azure AD and MSOnline PowerShell modules are deprecated as of March 30, 2024. To learn more, read the [deprecation update](https://techcommunity.microsoft.com/t5/microsoft-entra-blog/important-azure-ad-graph-retirement-and-powershell-module/ba-p/3848270). After this date, support for these modules are limited to migration assistance to Microsoft Graph PowerShell SDK and security fixes. The deprecated modules will continue to function through March, 30 2025.
15+
>
16+
> We recommend migrating to [Microsoft Graph PowerShell](/powershell/microsoftgraph/overview) to interact with Microsoft Entra ID (formerly Azure AD). For common migration questions, refer to the [Migration FAQ](/powershell/azure/active-directory/migration-faq). *Note:* Versions 1.0.x of MSOnline may experience disruption after June 30, 2024.
17+
1518

1619
Azure Active Directory PowerShell for Graph (Azure AD PowerShell) is a module IT Pros commonly use to manage their Azure Active Directory. The cmdlets in the Azure AD PowerShell module enable you to retrieve data from the directory, create new objects in the directory, update existing objects, remove objects, as well as configure the directory and its features.
1720

0 commit comments

Comments
 (0)