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
This example create a new service principal in Exchange Online with the specified AppId and ServiceId values.
46
+
This example create a new service principal in Exchange Online with the specified AppId and ObjectId values.
46
47
47
48
## PARAMETERS
48
49
@@ -67,8 +68,8 @@ Accept pipeline input: False
67
68
Accept wildcard characters: False
68
69
```
69
70
70
-
### -ServiceId
71
-
The ServiceId parameter specifies the unique ServiceId GUID value for the service principal. For example, 7c7599b2-23af-45e3-99ff-0025d148e929.
71
+
### -ObjectId
72
+
The ObjectId parameter specifies the unique ObjectId GUID value for the service principal. For example, 7c7599b2-23af-45e3-99ff-0025d148e929.
72
73
73
74
- The ObjectId property in the output of the [Get-MgServicePrincipal](https://learn.microsoft.com/powershell/module/microsoft.graph.applications/get-mgserviceprincipal) cmdlet in Microsoft Graph PowerShell.
74
75
- The Object ID property from Enterprise applications in the Azure AD portal: <https://portal.azure.com/#view/Microsoft_AAD_IAM/StartboardApplicationsMenuBlade/~/AppAppsPreview/menuId~/null>.
@@ -86,6 +87,22 @@ Accept pipeline input: False
86
87
Accept wildcard characters: False
87
88
```
88
89
90
+
### -ServiceId
91
+
This parameter is being deprecated. Use the ObjectId parameter instead.
The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on if the cmdlet requires confirmation before proceeding.
0 commit comments