Why can't Microsoft validate my publisher domain?

Pir8 0 Zuverlässigkeitspunkte
2024-09-20T10:48:48.3+00:00

When trying to validate our publisher domain I get an error message complaining about an JSON schema mismatch.

Verification of publisher domain failed. The JSON file found at https://www.awaro.com/.well-known/microsoft-identity-association did not match the expected JSON schema. [qbw9PqEbu5ho8MwTcgYL8t]

In a browser I can download the JSON file without any problems. The Content-Type header is set correctly. These are the headers I get:

HTTP/2 200 server: nginx date: Fri, 20 Sep 2024 10:41:37 GMT content-type: application/json last-modified: Wed, 18 Sep 2024 15:00:17 GMT etag: W/"66-62266106c3f7e" age: 4304 strict-transport-security: max-age=63072000; includeSubDomains; preload x-varnish-cache: HIT x-cacheable: YES x-content-type-options: nosniff x-xss-protection: 1; mode=block content-encoding: br X-Firefox-Spdy: h2

Is this a problem with the file extension? We are hosting the file under https://www.awaro.com/.well-known/microsoft-identity-association.json as required by the instructions but the error message does not show the .json extension. Our website provider does not allow files without extension to be hosted, so I cannot change this.

Azure SDKs
Azure SDKs
Eine Reihe von Visual Studio-Tools, Befehlszeilentools, Laufzeitbinärdateien und Clientbibliotheken, die Clients beim Entwickeln, Testen und Bereitstellen von Apps unterstützen, die in Azure ausgeführt werden.
91 Fragen
0 Kommentare Keine Kommentare
{count} Stimmen

1 Antwort

Sortieren nach: Am hilfreichsten
  1. Pir8 0 Zuverlässigkeitspunkte
    2024-09-20T11:37:11.2033333+00:00

    Problem solved. It seems that Microsoft is extremely picky about the line endings. The content was originally added in a linux console and "seemed" identical.

    0 Kommentare Keine Kommentare

Ihre Antwort

Fragesteller*innen können Antworten als akzeptierte Antworten markiert werden, wodurch Benutzer*innen wissen, dass diese Antwort das Problem gelöst hat.