Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community

AAD application registration fail : The host name should not be based on already owned domain

Microsoft

Hi Experts:

 

I want to implement SSO in Excel Addin. I read this article https://docs.microsoft.com/en-us/office/dev/add-ins/develop/create-sso-office-add-ins-aspnet  and follow the step to register an application in https://apps.dev.microsoft.com . However I got a error message while I specify the application ID URI like below.

 

1.png

 

This domain name “xizhang.com” is owned by me, and I hosted this api site in azure, and set a custom domain name to it now. I don’t understand how to correct this problem.If you can give me some advice, that will be great. Thank you!

 

2.png

1 Reply