-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Domain Services: create domain service fails to create service principals #11200
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @adamedx. |
+1 any updates on this, seeing that this is a quite crucial component to have 😊 (temporarily we can ofc utilize the ARM way, but I would prefer this way) |
+1 please provide an update on this. |
+1 Any update on this? |
+1 same issue here, I used New-AzureADServicePrincipal -AppId "2565bd9d-da50-47d4-8b85-4c97f669dc36" and New-AzureADServicePrincipal -AppId "6ba9a5d4-8456-4118-b521-9c5ca10cdf84" to manually register these SPN's and confirmed they exist in my AzureAD. Interestingly, I i delete the 'failed' domain services instance, the SPN 256* gets DELETED automatically and the error "The service principal with appId '2565bd9d-da50-47d4-8b85-4c97f669dc36' could not be found in the Azure Active Directory tenant" occurs again. I also noticed I already had two Domain Controller SPN instances in AzureAD with different APP ID's (probably from early preview tests): After deleting these and making sure I had an entry for both app id's, I then received a new error: "The identity of the calling application could not be found. Please retry the operation." Finally, I re-registered the Microsoft.AAD resource provider to get rid of that error and things started working. I would greatly prefer not having to use PS to be able to deploy AADDS through ARM. |
+1 This is really necessary for us |
The service team has replied this should follow the steps as powershell script https://docs.microsoft.com/en-us/azure/active-directory-domain-services/powershell-create-instance#create-required-azure-ad-resources . Please have a try |
@yupwei Thanks for the tip. Using the latest API 2020-01-01, and with the aid of the doc you linked, I have been able to create a working resource! |
@manicminer - this can be closed then? |
@katbyte This can indeed be closed, I haven't had any more related errors |
When trying to create a new domain service:
a 201 response is received:
After several retrievals of the async operation result, the following is received, and the domain service resource enters a failed state.
According to the documentation, creating a new domain service is supposed to implicitly create two service principals.
It seems like this isn't happening correctly.
The text was updated successfully, but these errors were encountered: