Forum Discussion
Adding Subdomain to Entra ID but gets set automatically as federated.
Please refer this:
https://learn.microsoft.com/en-us/entra/identity/users/domains-verify-custom-subdomain
- fr33zypopFeb 29, 2024Copper Contributor
I tried this before and this was the error I received.
Update-MgDomain : Domain operation is not allowed.
At line:1 char:1
+ Update-MgDomain -DomainId "subdomain.domain.edu" -BodyParameter @{Authen ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: ({ DomainId = re...tGraphDomain1 }:<>f__AnonymousType90`2) [Update-MgD
omain_Update1], RestException`1
+ FullyQualifiedErrorId : Request_BadRequest,Microsoft.Graph.PowerShell.Cmdlets.UpdateMgDomain_Update1As I stated this has been resolved after using the information from this link. https://learn.microsoft.com/en-us/graph/api/domain-promote?view=graph-rest-1.0&tabs=http