You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gets the application with object id '3ede3c26-b443-4e0b-9efc-b05e68338dc3' and pipes that to the New-AzADServicePrincipal cmdlet to create a new AD service principal for that application.
207
207
208
+
### Example 7 - Create a new AD service principal using DisplayName and password credential
Creates a new application with name "ServicePrincipalName" and password "StrongPassworld!23" and creates the service principal based on the application just created. The start date and end date are added to password credential.
223
+
224
+
225
+
### Example 8 - Create a new AD service principal using DisplayName and plain key credential
226
+
227
+
```
228
+
PS C:\> $cert = <public certificate as base64-encoded string>
Creates a new application with name "ServicePrincipalName" and certifcate "$cert" and creates the service principal based on the application just created. The end date is added to key credential.
0 commit comments