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

%3CLINGO-SUB%20id%3D%22lingo-sub-266669%22%20slang%3D%22en-US%22%3ERe%3A%20AAD%20application%20registration%20fail%20%3A%20The%20host%20name%20should%20not%20be%20based%20on%20already%20owned%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-266669%22%20slang%3D%22en-US%22%3EAdd%20it%20as%20a%20custom%20domain%20in%20Azure%20AD%20too%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Ffundamentals%2Fadd-custom-domain%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Ffundamentals%2Fadd-custom-domain%3C%2FA%3E)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-238390%22%20slang%3D%22en-US%22%3EAAD%20application%20registration%20fail%20%3A%20The%20host%20name%20should%20not%20be%20based%20on%20already%20owned%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-238390%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Experts%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20want%20to%20implement%20SSO%20in%20Excel%20Addin.%20I%20read%20this%20article%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice%2Fdev%2Fadd-ins%2Fdevelop%2Fcreate-sso-office-add-ins-aspnet%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice%2Fdev%2Fadd-ins%2Fdevelop%2Fcreate-sso-office-add-ins-aspnet%3C%2FA%3E%20%26nbsp%3Band%20follow%20the%20step%20to%20register%20an%20application%20in%20%3CA%20href%3D%22https%3A%2F%2Fapps.dev.microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fapps.dev.microsoft.com%3C%2FA%3E%20.%20However%20I%20got%20a%20error%20message%20while%20I%20specify%20the%20application%20ID%20URI%20like%20below.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%221.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F44329i187B4E8C335A51BD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%221.png%22%20alt%3D%221.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20domain%20name%20%E2%80%9Cxizhang.com%E2%80%9D%20is%20owned%20by%20me%2C%20and%20I%20hosted%20this%20api%20site%20in%20azure%2C%20and%20set%20a%20custom%20domain%20name%20to%20it%20now.%20I%20don%E2%80%99t%20understand%20how%20to%20correct%20this%20problem.If%20you%20can%20give%20me%20some%20advice%2C%20that%20will%20be%20great.%20Thank%20you!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F44330iD8D4C821B0BDE084%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%222.png%22%20alt%3D%222.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-238390%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%20Apps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
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