That operation is not supported via the Graph API afaik, only good old MSOnline PowerShell. As for any roadmap related question/feature requests, best post them on the Azure Feedback portal: https://feedback.azure.com/d365community/forum/22920db1-ad25-ec11-b6e6-000d3a4f0789
Change federated subdomain to managed
Hello,
I am having issues trying to convert a federated subdomain to a managed subdomain while the root domain stays federated.
(fully written out problem by another user on stack overflow: https://stackoverflow.com/questions/69916859/whats-the-correct-microsoft-graph-api-endpoint-for-promoting-a-subdomain-to-roo)
Following the MS Docs here, it was possible to do so: https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/domains-verify-custom-subdomain.
But the documentation says you can use the Microsoft Graph API, however, the examples use http://graph.windows.net which is the soon to be deprecated Azure AD Graph API.
Some people on the feedback page also mention the same problem (https://github.com/MicrosoftDocs/azure-docs/issues?utf8=%E2%9C%93&q=%22f61490c2-0f18-4609-29f1-99ccb4215ad2%22&in=body).
Using the Microsoft Graph API, there is no way to promote the subdomain to a managed domain, while keeping the root domain federated.
Will this be added to the Microsoft Graph API? Or are there any alternatives?