cer = New-Object System.Security.Cryptography.X509Certificates.X509Certificate $cer.Import("C: emp\myapp.cer") $binCert = ...

          $cer = New-Object System.Security.Cryptography.X509Certificates.X509Certificate
          $cer.Import("C:	emp\myapp.cer")
          $binCert = $cer.GetRawCertData()
          $credValue = [System.Convert]::ToBase64String($binCert);
          New-MsolServicePrincipal -ServicePrincipalNames @("MyApp/myApp.com") -DisplayName "My Application" -Type asymmetric -Value $credValue

          Viene creato un nuovo oggetto di entità servizio.
English
English (United States)
Deutsch (Deutschland)
German (Germany)
Español (España)
Spanish (Spain)
Français (France)
French (France)
italiano
Italian
日本語
Japanese