Skip to content

Commit 9bd06c4

Browse files
Implement feedback.
1 parent 8aaddce commit 9bd06c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/active-directory-b2c/manage-custom-policies-powershell.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Manage custom policies with PowerShell
2+
title: Manage custom policies with Microsoft Graph PowerShell
33
titleSuffix: Azure AD B2C
44
description: Use the Microsoft Graph PowerShell cmdlets for programmatic management of your Azure AD B2C custom policies. Create, read, update, and delete custom policies with PowerShell.
55
author: kengaderdus
@@ -18,7 +18,7 @@ ms.subservice: B2C
1818

1919
---
2020

21-
# Manage Azure AD B2C custom policies with PowerShell
21+
# Manage Azure AD B2C custom policies with Microsoft Graph PowerShell
2222

2323
Microsoft Graph PowerShell provides several cmdlets for command line- and script-based custom policy management in your Azure AD B2C tenant. Learn how to use the Azure AD PowerShell module to:
2424

@@ -38,10 +38,10 @@ Microsoft Graph PowerShell provides several cmdlets for command line- and script
3838

3939
To work with custom policies in your Azure AD B2C tenant, you first need to connect your PowerShell session to the tenant by using the [Connect-MgGraph][Connect-MgGraph] command.
4040

41-
Execute the following command. Sign in with an account that's assigned the [B2C IEF Policy Administrator](../active-directory/roles/permissions-reference.md#b2c-ief-policy-administrator) role in the directory.
41+
Execute the following command. Sign in with an account that's assigned the [B2C IEF Policy Administrator](/entra/identity/role-based-access-control/permissions-reference#b2c-ief-policy-administrator) role in the directory.
4242

4343
```PowerShell
44-
Connect-MgGraph -Scopes "Policy.ReadWrite.TrustFramework"
44+
Connect-MgGraph -TenantId "{b2c-tenant-name}.onmicrosoft.com" -Scopes "Policy.ReadWrite.TrustFramework"
4545
```
4646

4747
Example command output showing a successful sign-in:

0 commit comments

Comments
 (0)