In Microsoft Sentinel, "InternalServerError" can be caused by trying to refer to the wrong data center when using an API key:

To determine the API prefix for your data center, go to page Settings > Tenant Settings > Data > API KEYS in the portal and check which API prefix is shown under About API Keys. The data center API URL (also known as the API prefix) will be one of the following:

Make a note of your prefix - among other things, this is the domain used when an API Key is created.

When setting-up MS Sentinel configuration, if a different domain is used in the JSON code, it can result in an "InternalServerError" error when the API key is used.

To modify the JSON code, refer to .