Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Das Az.Resources PowerShell-Modul, Version 5.1.0 von Azure PowerShell, führt Änderungen an den identitätsbezogenen Cmdlets ein. Die Cmdlets, die auf Azure AD Graph basieren, wechseln zu Microsoft Graph. Diese Änderung erfolgt, um einen reibungslosen Übergang im Lichte der Ankündigung der Einstellung von Azure AD Graph sicherzustellen.
Weitere Informationen finden Sie unter Azure AD zu Microsoft Graph-Migration für Azure-Befehlszeilentools.
Im folgenden Beispiel wird die neueste Version des Az.Resources Azure PowerShell-Moduls installiert.
Install-Module -Name Az.Resources -Repository PSGallery -Scope CurrentUser
Eine Liste der Änderungen finden Sie in den folgenden Informationen.
Application
Get-AzAdApplication
Der Ausgabetyp wurde von "In" in "Geändert"
Microsoft.Azure.Commands.ActiveDirectory.PSADApplicationMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplicationDer Parameter
IncludeTotalCountwird nicht unterstützt und wurde entfernt.
New-AzAdApplication
Der Ausgabetyp wurde von "In" in "Geändert"
Microsoft.Azure.Commands.ActiveDirectory.PSADApplicationMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplicationParameter
Passwordwurde entfernt, angepasstes Kennwort wird nicht mehr unterstützt, Server weist beim Erstellen geheimen Text zu
Remove-AzAdApplication
- Der Eingabetyp des Parameters
InputObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADApplicationzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplication
Update-AzAdApplication
Der Eingabetyp des Parameters
InputObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADApplicationzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplicationDer Ausgabetyp wurde von "In" in "Geändert"
Microsoft.Azure.Commands.ActiveDirectory.PSADApplicationSystem.Boolean
Änderungen am Application-Objekt
ObjectIdwurde ersetzt durchIdHomePagewurde durchHomepageUrldasWebElement ersetzt.ApplicationIdwurde ersetzt durchAppIdAvailableToOtherTenants(boolean) wurde durch (Zeichenfolge mit 4 Werten: 'AzureADMyOrg', 'AzureADMultipleOrgs', 'AzureADandPersonalMicrosoftAccount', 'PersonalMicrosoftAccount') ersetztSignInAudience.AzureADMultipleOrgs entspricht "AvailableToOtherTenants:$true
AzureAdMyOrg entspricht availableToOtherTenants:$false oder $null
ApiPermissionswurde ersetzt durchRequiredResourceAccessReplyUrlswurde durchRedirectUrisdasWebElement ersetzt.ObjectTypewurde ersetzt durchOdataType
Anwendungsanmeldeinformationen
Get-AzAdAppCredential
Der Eingabetyp des Parameters
ApplicationObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADApplicationzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplicationDer Ausgabetyp wurde von "In" in "Geändert"
Microsoft.Azure.Commands.ActiveDirectory. PSADCredentialMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphKeyCredentialundMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphPasswordCredential
New-AzAdAppCredential
Der Eingabetyp des Parameters
ApplicationObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADApplicationzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplicationDer Ausgabetyp wurde von "In" in "Geändert"
Microsoft.Azure.Commands.ActiveDirectory. PSADCredentialMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphKeyCredentialundMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphPasswordCredentialParameter
Passwordwurde entfernt, angepasstes Kennwort wird nicht mehr unterstützt, Server weist beim Erstellen geheimen Text zu.
Remove-AzAdAppCredential
- Der Eingabetyp des Parameters
ApplicationObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADApplicationzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplication
Änderungen am App-Anmeldeinformationsobjekt
Kennwortanmeldeinformationen
-
Passwordwurde ersetzt durchSecretText
Schlüsselanmeldeinformationen
-
CertValuewurde entfernt.
ServicePrincipal
Get-AzAdServicePrincipal
Der Ausgabetyp wurde von "In" in "Geändert"
Microsoft.Azure.Commands.ActiveDirectory.PSADServicePrincipalMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipalDer Parameter
IncludeTotalCountwird nicht unterstützt und wurde entfernt.
New-AzAdServicePrincipal
Der Ausgabetyp wurde von "In" in "Geändert"
Microsoft.Azure.Commands.ActiveDirectory.PSADServicePrincipalMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipalParametersatz
ApplicationWithoutCredentialParameterSet,ApplicationWithPasswordPlainParameterSet,DisplayNameWithoutCredentialParameterSet,DisplayNameWithPasswordPlainParameterSetwurden entfernt, da diese ursprünglichen Parametersätze nicht funktionieren.Die Rolle
contributorwird nicht als Standard zugewiesen, wenn der Parameter-Roleaufgrund der Sicherheitsüberlegung nicht bereitgestellt wird.Der Parameter
SkipAssignmentwurde entfernt.
Remove-AzAdServicePrincipal
Der Eingabetyp des Parameters
ApplicationObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADApplicationzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphApplicationDer Eingabetyp des Parameters
InputObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADServicePrincipalzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipal
Update-AzAdServicePrincipal
Der Eingabetyp des Parameters
InputObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADServicePrincipalzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipalDer Ausgabetyp wurde von "In" in "Geändert"
Microsoft.Azure.Commands.ActiveDirectory.PSADServicePrincipalSystem.Boolean
Änderungen am Dienstprinzipalobjekt
ApplicationIdwurde ersetzt durchAppIdObjectTypewurde ersetzt durchOdataType
ServicePrincipal-Anmeldeinformationen
Get-AzAdSpCredential
Der Eingabetyp des Parameters
ServicePrincipalObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADServicePrincipalzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipalDer Ausgabetyp wurde von "In" in "Geändert"
Microsoft.Azure.Commands.ActiveDirectory. PSADCredentialMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphKeyCredentialundMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphPasswordCredential
New-AzAdSpCredential
Der Eingabetyp des Parameters
ServicePrincipalObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADServicePrincipalzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipalDer Ausgabetyp wurde von "In" in "Geändert"
Microsoft.Azure.Commands.ActiveDirectory. PSADCredentialMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphKeyCredentialundMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphPasswordCredential
Remove-AzAdSpCredential
- Der Eingabetyp des Parameters
ServicePrincipalObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADServicePrincipalzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphServicePrincipal
Änderungen am ServicePrincipal-Anmeldeinformationsobjekt
Kennwortanmeldeinformationen
-
Passwordwurde ersetzt durchSecretText
Schlüsselanmeldeinformationen
-
CertValuewurde entfernt.
Benutzer
Get-AzAdUser
Der Ausgabetyp wurde von "In" in "Geändert"
Microsoft.Azure.Commands.ActiveDirectory.PSADUserMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphUserDer Parameter
IncludeTotalCountwird nicht unterstützt und wurde entfernt.
New-AzAdUser
- Der Ausgabetyp wurde von "In" in "Geändert"
Microsoft.Azure.Commands.ActiveDirectory.PSADUserMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphUser
Remove-AzAdUser
- Der Eingabetyp des Parameters
InputObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADUserzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphUser
Update-AzAdUser
Der Eingabetyp des Parameters
InputObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADUserzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphUserDer Ausgabetyp wurde von "In" in "Geändert"
Microsoft.Azure.Commands.ActiveDirectory.PSADUserSystem.Boolean
Änderungen am Benutzerobjekt
ObjectTypewurde ersetzt durchOdataTypeImmutableIdwurde ersetzt durchOnpremisesImmutableId
Gruppe
Get-AzAdGroup
Der Ausgabetyp wurde von "In" in "Geändert"
Microsoft.Azure.Commands.ActiveDirectory.PSADGroupMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphGroupDer Parameter
IncludeTotalCountwird nicht unterstützt und wurde entfernt.
New-AzAdGroup
- Der Ausgabetyp wurde von "In" in "Geändert"
Microsoft.Azure.Commands.ActiveDirectory.PSADGroupMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphGroup
Remove-AzAdGroup
- Der Eingabetyp des Parameters
InputObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADGroupzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphGroup
Änderungen des Group-Objekts
-
ObjectTypewurde ersetzt durchOdataType
Mitglied der Gruppe
Get-AzAdGroupMember
Der Ausgabetyp wurde von "In" in "Geändert"
Microsoft.Azure.Commands.ActiveDirectory.PSADObjectMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphDirectoryObjectParameter
IncludeTotalCountwurde entferntDer Eingabetyp des Parameters
GroupObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADGroupzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphGroup
Von Bedeutung
Aufgrund von Einschränkungen mit der aktuellen Graph-API werden Dienstprinzipale in Az 7.x nicht zurückgegeben Get-AzAdGroupMember . Eine Problemumgehung finden Sie unter Problembehandlung für das Az PowerShell-Modul.
Add-AzAdGroupMember
- Der Eingabetyp des Parameters
GroupObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADGroupzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphGroup
Remove-AzAdGroupMember
- Der Eingabetyp des Parameters
GroupObjectwurde vonMicrosoft.Azure.Commands.ActiveDirectory.PSADGroupzuMicrosoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphGroup