MicrosoftLearning / AZ500-AzureSecurityTechnologies

Microsoft Azure Security Technologies
https://microsoftlearning.github.io/AZ500-AzureSecurityTechnologies/
MIT License
843 stars 817 forks source link

Lab 01 using new type of `$passwordProfile` #422

Closed hiryamada closed 1 month ago

hiryamada commented 1 month ago

Module: 01

Lab/Demo: 01

Task: 01

Step: 03

Description of issue

$passwordProfile = New-Object -TypeName Microsoft.Open.AzureAD.Model.PasswordProfile

should be

$PasswordProfile = New-Object -TypeName Microsoft.Graph.PowerShell.Models.MicrosoftGraphPasswordProfile

because Microsoft.Open.AzureAD.Model.PasswordProfile is the part of Azure AD for Graph (Azure AD v2), and Azure AD for Graph (Azure AD v2) was already deprecated.

serling1962 commented 1 month ago

Edits were applied to align with the authorized lab hosting provider, Skillable.