Skip to content

Commit

Permalink
Add error message
Browse files Browse the repository at this point in the history
Add error message that can occur if service principal is already added
  • Loading branch information
frankroj authored Nov 19, 2024
1 parent 272e9db commit 34cc721
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions autopilot/includes/create-assigned-device-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,14 @@ If the **Intune Provisioning Client** service principal with AppId **f1346770-5b
```
For more information, see [New-MgServicePrincipal -BodyParameter](/powershell/module/microsoft.graph.applications/new-mgserviceprincipal#-bodyparameter).
> [!NOTE]
>
> If the following message is displayed after running the `New-MgServicePrincipal -AppID f1346770-5b25-470b-88bd-d5744ab7952c` command, it means that the **Intune Provisioning Client service principal** has already been added:
> ```powershell
> New-MgServicePrincipal : The service principal cannot be created, updated, or restored because the service principal name
> f1346770-5b25-470b-88bd-d5744ab7952c is already in use.
> Status: 409 (Conflict)
> ErrorCode: Request_MultipleObjectsWithSameKeyValue
> ```

0 comments on commit 34cc721

Please sign in to comment.