Publisher domain verification failed with the following error Verification of publisher domain failed. The json file located at https://www.abc.com/.well-known/microsoft-identity-association is too large. [UTYFyLUstz3/AVHkHP9N9U]

Biton, Shlomi (Shlomi) 11 Reputation points
2022-06-21T05:27:17.397+00:00

Hello,
Publisher domain verification failed with the following message:
Verification of publisher domain failed. The json file located at https://www.abc.com/.well-known/microsoft-identity-association is too large. [UTYFyLUstz3/AVHkHP9N9U]

The JSON file was downloaded from Azure and then uploaded to https://www.abc.com/.well-known/microsoft-identity-association.
The Content-Type field returned by the file server is: application/json.
The Content-Length field returned by the file server reflects the JSON file size 111 bytes.
There is no HTTP redirect.

This is the error presented when using DEV tools on Azure.
{error: {code: "Application_JsonFileTooLarge",…}}
error: {code: "Application_JsonFileTooLarge",…}
code: "Application_JsonFileTooLarge"
innerError: {date: "2022-06-21T05:20:13", request-id: "31a23c15-6bbf-446a-ba5a-c81050b30d2a",…}
message: "The JSON file located at www.abc.com/.well-known/microsoft-identity-association.json is over the size limit of 4096 bytes."

How can we resolve the issue?
Thanks,
Shlomi

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.
976 questions
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. James Hamil 27,221 Reputation points Microsoft Employee Moderator
    2022-06-23T21:35:18.84+00:00

    Hi @Biton, Shlomi (Shlomi) , what does the JSON file contain? Did you create it or download it from somewhere? Is the entire JSON file only 111 bytes? Please let me know and I can help you further.

    Best,
    James

    1 person found this answer helpful.
    0 comments No comments

  2. Desh Naik 1 Reputation point
    2022-09-21T04:58:31.847+00:00

    HI @James Hamil

    I too am facing the same error
    243252-image.png

    My json contains below:
    {
    "associatedApplications":[
    {
    "applicationId": "xxxxx-xxx-xxx-xxx-xxxx"
    },
    {
    "applicationId": "xxxxx-xxx-xxx-xxx-xxxx"
    }
    .
    .
    .
    {
    "applicationId": "xxxxx-xxx-xxx-xxx-xxxx"
    }

    ]

    }

    I have 57 applicationID in the json file

    Is there any file size limit for the json to be uploaded ?

    0 comments No comments

  3. Rafael Gomes Francisco 0 Reputation points
    2025-04-03T20:18:49.93+00:00

    Any update about that?
    I'm facing this same error message, which looks poor about why it's happening.

    That content is very light. This error doesn't make sense 🙃

    {
      "associatedApplications": [
        {
          "applicationId": "<UUID HERE>"
        }
      ]
    }
    
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.