'Azure edit a required claim for service principal

how can i edit in azure for my enterprise application (service principal) the required claim with PowerShell? Tried code from the official docu: https://docs.microsoft.com/de-de/azure/active-directory/develop/active-directory-claims-mapping

if i execute the code Get-AzureADPolicy this error appears. Of course i installed the Module AzureADPreview and connected to AzureAD.

Get-AzureADPolicy : The term 'Get-AzureADPolicy' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ Get-AzureADPolicy
+ ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-AzureADPolicy:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

The claim i want to edit via PowerShell: enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source