Verification of publisher domain failed - The server returned an unexpected content type header value. [anf5CIeR019/gHQYS03F0b]

Edo 21 Reputation points

I am trying to verify my publisher domain but I am incurring into the issue I pasted above.
When I perform the request in a private browser window I get this header and the content as expected:


So you can see it's not about the Content-type.
What is going on here?

If I do with curl, I get this back for some reason:

   <a href="https://{mydomain}.com/.well-known/microsoft-identity-association.json">Moved Permanently</a>.  

I wonder if this could have something to do with it failing.

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
452 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
4,331 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marten Theunissen 236 Reputation points

    Good Day @Edo

    I have a thread that could be of value to you. Please have a look at the below and please accept as an answer if the information is pertinent to your issue.