- Pre-Requisite
Install the Office 365 Command Lets 64 Bit
Install the Office 365 Command Lets 32 Bit
- Import Online Module
Import-Module MsOnlineExtended -Force
- Connect the Office 365
Connect-MsolService
- Create the Service Principal Name
New-MsolServicePrincipal -ServicePrincipalNames ServicePrincipalId/Tenant.com -DisplayName "Service Principal Name"
After running the above command it will create the service principal name and generate the symmetric key. Please store the symmetric key in safe location.
References:
Service Principal Name
No comments:
Post a Comment