mirror of
https://github.com/KelvinTegelaar/CIPP.git
synced 2026-04-25 16:26:09 +03:00
[GH-ISSUE #1142] BUG: The service principal cannot be created, updated, or restored because the service principal name is already in use #618
Labels
No labels
API
Feature
NotABug
NotABug
Planned
Sponsor Priority
Sponsor Priority
bug
documentation
duplicate
enhancement
needs more info
no-activity
no-priority
not-assigned
pull-request
react-conversion
react-conversion
roadmap
security
stale
unconfirmed-by-user
unconfirmed-by-user
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/CIPP#618
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Nepenthe-x64 on GitHub (Oct 4, 2022).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/1142
After clicking the Enable GDAP API button I'm getting the following error:
Failed to add SPN. Please manually execute 'New-AzureADServicePrincipal -AppId ' The error was Insufficient privileges to complete the operation.
When I execute the command in Azure AD PowerShell I get the following message:
New-AzureADServicePrincipal : Error occurred while executing NewServicePrincipal
Code: Request_MultipleObjectsWithSameKeyValue
Message: The service principal cannot be created, updated, or restored because the service principal name
https://api.partnercustomeradministration.microsoft.com is already in use.
RequestId: bf68ceca-bbff-42f9-a80f-e3d46a1c58c9
DateTimeStamp: Tue, 04 Oct 2022 03:44:47 GMT
HttpStatusCode: Conflict
HttpStatusDescription: Conflict
HttpResponseStatus: Completed
At line:1 char:1
When I look in Enterprise apps the AppId it lists is tied to an app called Partner Customer Delegated Administration, but I can't update the API permissions per your KB. How do I proceed from here?
Thanks,
Adam
@KelvinTegelaar commented on GitHub (Oct 6, 2022):
Not a bug. Someone already used the GDAP migration tool so you can skip that step.