AZ-104-MicrosoftAzureAdmini.../Instructions/Demos/01 - Administer Identity.md

90 lines
2.9 KiB
Markdown
Raw Normal View History

2023-06-06 14:35:02 -07:00
---
demo:
title: 'Demonstration: Administer Identity'
module: 'Administer Identity'
---
2023-06-06 15:29:30 -07:00
# 01 - Administer Identity
2023-06-06 13:32:54 -07:00
## Configure Azure Active Directory
2023-06-06 15:25:18 -07:00
This area does not have a formal demonstration. Consider these Quickstarts.
2023-06-06 13:32:54 -07:00
2023-06-06 15:25:18 -07:00
[Quickstart - Access & create new tenant - Azure AD \| Microsoft Docs](https://docs.microsoft.com/azure/active-directory/fundamentals/active-directory-access-create-new-tenant)
2023-06-06 13:32:54 -07:00
2023-06-06 15:25:18 -07:00
[Quickstart - View groups & members - Azure AD \| Microsoft Docs](https://docs.microsoft.com/azure/active-directory/fundamentals/active-directory-groups-view-azure-portal)
2023-06-06 13:32:54 -07:00
2023-06-07 05:37:12 -07:00
2023-06-06 13:32:54 -07:00
## Configure User and Group Accounts
In this demonstration, we will explore Azure Active Directory.
2023-06-06 15:29:30 -07:00
[Add or delete users - Azure Active Directory \| Microsoft Docs](https://docs.microsoft.com/azure/active-directory/fundamentals/add-users-azure-active-directory)
[Create a basic group and add members - Azure Active Directory | Microsoft Docs](https://docs.microsoft.com/azure/active-directory/fundamentals/active-directory-groups-create-azure-portal#create-a-basic-group-and-add-members)
2023-06-06 13:32:54 -07:00
2023-06-06 15:30:10 -07:00
**Note:** Depending on your subscription not all areas of the Azure Active Directory blade will be available.
2023-06-06 13:32:54 -07:00
**Review license and domain information**
1. Access the Azure portal and navigate to the **Azure Active
Directory** blade.
2. On the Overview blade, review the **Tenant information** including
license and primary domain.
**Explore user accounts**
1. Select the **Users** blade.
2. Explain the choices for **New user** and **New guest user**.
3. Select **New user** and discuss the differences between **Create
user** and **Invite user**.
4. Create a **New user** reviewing the **Identity**, **Groups and
roles**, **Settings**, and **Job Info** parameters.
5. After the user is created, review **Reset password**, **Delete
user**, and **Sign-ins**.
**Explore group accounts**
1. Return to the **Azure Active Directory** page and select
the **Groups** blade.
2. Create a **New group** or select an existing group to review.
3. Review information about a group including **Membership
type** and **Type**.
**Optional - Explore PowerShell for group management**
1. Create a new group called Developers.
2023-06-06 15:08:19 -07:00
```powershell
New-AzADGroup -DisplayName Developers -MailNickname Developers
```
2023-06-06 13:32:54 -07:00
2. Retrieve the Developers group ObjectId.
2023-06-06 15:08:19 -07:00
```powershell
Get-AzADGroup
```
2023-06-06 13:32:54 -07:00
3. Retrieve the user ObjectId for the member to add.
2023-06-06 15:08:19 -07:00
```powershell
Get-AzADUser
```
2023-06-06 13:32:54 -07:00
4. Add the user to the group. Replace groupObjectId and userObjectId.
2023-06-06 15:08:19 -07:00
```powershell
2023-06-06 15:13:35 -07:00
Add-AzADGroupMember -MemberUserPrincipalName "myemail@domain.com" -TargetGroupDisplayName "MyGroupDisplayName"
2023-06-06 15:08:19 -07:00
```
2023-06-06 13:32:54 -07:00
5. Verify the members of the group. Replace groupObjectId.
2023-06-06 15:08:19 -07:00
```powershell
Get-AzADGroupMember -GroupDisplayName "MyGroupDisplayName"
```