Migratiewijzigingen in Azure AD naar Microsoft Graph in Azure PowerShell
De Az.Resources
PowerShell-module versie 5.1.0 van Azure PowerShell introduceert wijzigingen in de identiteitsgerelateerde cmdlets. De cmdlets die afhankelijk zijn van Azure AD Graph, worden overgestapt op Microsoft Graph. Deze wijziging vindt plaats om een soepele overgang te garanderen in het licht van de aankondiging van de buitengebruikstelling van Azure AD Graph.
Zie Azure AD naar Microsoft Graph-migratie voor Azure-opdrachtregelprogramma's voor meer informatie.
In het volgende voorbeeld wordt de nieuwste versie van de Az.Resources
Azure PowerShell-module geïnstalleerd.
Install-Module -Name Az.Resources -Repository PSGallery -Scope CurrentUser
Zie de volgende informatie voor een lijst met wijzigingen.
Toepassing
Get-AzAdApplication
Het uitvoertype is gewijzigd van
Microsoft.Azure.Commands.ActiveDirectory.PSADApplication
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplication
Parameter
IncludeTotalCount
wordt niet ondersteund en is verwijderd
New-AzAdApplication
Het uitvoertype is gewijzigd van
Microsoft.Azure.Commands.ActiveDirectory.PSADApplication
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplication
Parameter
Password
is verwijderd, aangepast wachtwoord wordt niet meer ondersteund, server wijst geheime tekst toe bij het maken
Remove-AzAdApplication
- Invoertype van parameter
InputObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADApplication
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplication
Update-AzAdApplication
Invoertype van parameter
InputObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADApplication
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplication
Het uitvoertype is gewijzigd van
Microsoft.Azure.Commands.ActiveDirectory.PSADApplication
inSystem.Boolean
Wijzigingen in toepassingsobject
ObjectId
is vervangen doorId
HomePage
is vervangen doorHomepageUrl
hetWeb
elementApplicationId
is vervangen doorAppId
AvailableToOtherTenants
(Booleaanse waarde) is vervangen doorSignInAudience
(tekenreeks met 4 waarden: 'AzureADMyOrg', 'AzureADMultipleOrgs', 'AzureADandPersonalMicrosoftAccount', 'PersonalMicrosoftAccount')AzureADMultipleOrgs is gelijk aan AvailableToOtherTenants:$true
AzureAdMyOrg is gelijk aan AvailableToOtherTenants:$false of $null
ApiPermissions
is vervangen doorRequiredResourceAccess
ReplyUrls
is vervangen doorRedirectUris
hetWeb
elementObjectType
is vervangen doorOdataType
Toepassingsreferenties
Get-AzAdAppCredential
Invoertype van parameter
ApplicationObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADApplication
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplication
Het uitvoertype is gewijzigd van
Microsoft.Azure.Commands.ActiveDirectory. PSADCredential
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphKeyCredential
enMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphPasswordCredential
New-AzAdAppCredential
Invoertype van parameter
ApplicationObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADApplication
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplication
Het uitvoertype is gewijzigd van
Microsoft.Azure.Commands.ActiveDirectory. PSADCredential
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphKeyCredential
enMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphPasswordCredential
Parameter
Password
is verwijderd, aangepast wachtwoord wordt niet meer ondersteund, server wijst geheime tekst toe bij het maken
Remove-AzAdAppCredential
- Invoertype van parameter
ApplicationObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADApplication
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplication
Wijzigingen in app-referentieobject
Wachtwoordreferenties
Password
is vervangen doorSecretText
Sleutelreferentie
CertValue
Verwijderd
ServicePrincipal
Get-AzAdServicePrincipal
Het uitvoertype is gewijzigd van
Microsoft.Azure.Commands.ActiveDirectory.PSADServicePrincipal
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipal
Parameter
IncludeTotalCount
wordt niet ondersteund en is verwijderd.
New-AzAdServicePrincipal
Het uitvoertype is gewijzigd van
Microsoft.Azure.Commands.ActiveDirectory.PSADServicePrincipal
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipal
De parameterset
ApplicationWithoutCredentialParameterSet
, ,ApplicationWithPasswordPlainParameterSet
,DisplayNameWithoutCredentialParameterSet
DisplayNameWithPasswordPlainParameterSet
is verwijderd omdat deze oorspronkelijke parametersets niet werken.De rol
contributor
wordt niet als standaard toegewezen wanneer de parameter-Role
niet wordt opgegeven vanwege beveiligingsoverweging.Parameter
SkipAssignment
is verwijderd.
Remove-AzAdServicePrincipal
Invoertype van parameter
ApplicationObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADApplication
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplication
Invoertype van parameter
InputObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADServicePrincipal
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipal
Update-AzAdServicePrincipal
Invoertype van parameter
InputObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADServicePrincipal
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipal
Het uitvoertype is gewijzigd van
Microsoft.Azure.Commands.ActiveDirectory.PSADServicePrincipal
inSystem.Boolean
Wijzigingen in service-principal-object
ApplicationId
is vervangen doorAppId
ObjectType
is vervangen doorOdataType
ServicePrincipal Credential
Get-AzAdSpCredential
Invoertype van parameter
ServicePrincipalObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADServicePrincipal
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipal
Het uitvoertype is gewijzigd van
Microsoft.Azure.Commands.ActiveDirectory. PSADCredential
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphKeyCredential
enMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphPasswordCredential
New-AzAdSpCredential
Invoertype van parameter
ServicePrincipalObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADServicePrincipal
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipal
Het uitvoertype is gewijzigd van
Microsoft.Azure.Commands.ActiveDirectory. PSADCredential
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphKeyCredential
enMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphPasswordCredential
Remove-AzAdSpCredential
- Invoertype van parameter
ServicePrincipalObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADServicePrincipal
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipal
Wijzigingen in ServicePrincipal Credential Object
Wachtwoordreferenties
Password
is vervangen doorSecretText
Sleutelreferentie
CertValue
Verwijderd
User
Get-AzAdUser
Het uitvoertype is gewijzigd van
Microsoft.Azure.Commands.ActiveDirectory.PSADUser
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphUser
Parameter
IncludeTotalCount
wordt niet ondersteund en is verwijderd
New-AzAdUser
- Het uitvoertype is gewijzigd van
Microsoft.Azure.Commands.ActiveDirectory.PSADUser
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphUser
Remove-AzAdUser
- Invoertype van parameter
InputObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADUser
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphUser
Update-AzAdUser
Invoertype van parameter
InputObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADUser
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphUser
Het uitvoertype is gewijzigd van
Microsoft.Azure.Commands.ActiveDirectory.PSADUser
inSystem.Boolean
Wijzigingen in gebruikersobject
ObjectType
is vervangen doorOdataType
ImmutableId
is vervangen doorOnpremisesImmutableId
Groep
Get-AzAdGroup
Het uitvoertype is gewijzigd van
Microsoft.Azure.Commands.ActiveDirectory.PSADGroup
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphGroup
Parameter
IncludeTotalCount
wordt niet ondersteund en is verwijderd
New-AzAdGroup
- Het uitvoertype is gewijzigd van
Microsoft.Azure.Commands.ActiveDirectory.PSADGroup
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphGroup
Remove-AzAdGroup
- Invoertype van parameter
InputObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADGroup
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphGroup
Wijzigingen van groepsobject
ObjectType
is vervangen doorOdataType
Groepslid
Get-AzAdGroupMember
Het uitvoertype is gewijzigd van
Microsoft.Azure.Commands.ActiveDirectory.PSADObject
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphDirectoryObject
Parameter
IncludeTotalCount
is verwijderdInvoertype van parameter
GroupObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADGroup
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphGroup
Belangrijk
Vanwege beperkingen met de huidige Graph API worden service-principals niet geretourneerd in Get-AzAdGroupMember
Az 7.x. Zie Probleemoplossing voor de Az PowerShell-module voor een tijdelijke oplossing.
Add-AzAdGroupMember
- Invoertype van parameter
GroupObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADGroup
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphGroup
Remove-AzAdGroupMember
- Invoertype van parameter
GroupObject
is gewijzigd vanMicrosoft.Azure.Commands.ActiveDirectory.PSADGroup
inMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphGroup
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub Issues geleidelijk uitfaseren als het feedbackmechanisme voor inhoud. Het wordt vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor