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

Edo 21 Reputation points
2022-11-05T09:32:01.38+00:00

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:

257474-screen-shot-2022-11-05-at-093004.png

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:

   html  
   <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
    2022-11-05T09:49:39.553+00:00

    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.

    https://learn.microsoft.com/en-us/answers/questions/6955/cant-verify-publisher-domain-for-web-app.html

    Regards
    M