Cannot view data in the Azure Cosmos DB Data Explorer in Microsoft Edge

Joaquin Pretell ADM Internal 0 Reputation points
2025-12-11T15:50:28.46+00:00

Hello
im getting Access to fetch at 'https://[name-of-cosmos-db].documents.azure.com/' from origin 'https://cosmos.azure.com' has been blocked by CORS policy: Permission was denied for this request to access the unknown address space. on microsoft edge.
I saw you sent a solution for chrome but i want to know if there is a solution for edge.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Q&A Assist
    2025-12-11T15:50:38.7+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error you are encountering in Microsoft Edge regarding CORS (Cross-Origin Resource Sharing) suggests that the browser is blocking the request to access resources from your Azure Cosmos DB due to security policies. While the context does not provide a specific solution for Microsoft Edge, it is important to ensure that CORS is configured correctly for your Azure Cosmos DB account.

    Here are some general steps you can take to troubleshoot and potentially resolve the issue:

    1. CORS Configuration: Ensure that CORS is properly configured for your Azure Cosmos DB account. This involves specifying the allowed origins that can access your resources. Note that CORS support is only applicable for the API for NoSQL in Azure Cosmos DB.
    2. Browser Settings: Sometimes, browser settings can interfere with CORS requests. Make sure that any security settings in Microsoft Edge are not overly restrictive. You may need to add your Azure Cosmos DB URL to the trusted sites in Edge.
    3. Network Configuration: Verify that your Azure Cosmos DB account allows access from the Azure Portal and that there are no firewall rules blocking the requests.
    4. Testing in Other Browsers: If possible, test the same request in other browsers (like Chrome) to confirm that the issue is specific to Microsoft Edge.

    If the problem persists, consider checking the Azure documentation or support for any updates or specific configurations that may be required for Microsoft Edge.


    References:

    0 comments No comments

  2. Manoj Kumar Boyini 1,660 Reputation points Microsoft External Staff Moderator
    2025-12-11T16:32:57.49+00:00

    Hi Joaquin Pretell ADM Internal,

    It sounds like you're running into a CORS issue while trying to access Azure Cosmos DB Data Explorer in Microsoft Edge. Here’s a step-by-step guide to help you troubleshoot this:

    Clear Your Browser Cache: Sometimes, cached data can cause issues. Try clearing your cache and then reloading the Data Explorer.

    Use Incognito Mode: Open the Data Explorer in an incognito window. If it works there, this could indicate a cache issue in your regular browsing session.

    Firewall Settings: Check if your Azure Cosmos DB account has VNet enabled. If so, ensure that you have the option "Allow access from Azure Portal" enabled in your firewall settings. This is crucial for accessing data from the portal.

    Check Network Configuration: Ensure your current IP address is added to the firewall rules if your account has public access restricted to selected networks.

    Try Sunset Mode: If the issue continues, you can use the Sunset version of Data Explorer as a workaround. This version might bypass some of the CORS policies that are blocking you.

    Update Microsoft Edge: Ensure that your browser is updated to the latest version, as outdated versions may have compatibility issues with Azure services.

    Check Microsoft Entra Permissions: If you're using Microsoft Entra for authentication, ensure that your role includes the necessary permissions to access the Cosmos DB.

    If none of these steps resolve your issue, consider checking the Azure documentation for further insights or opening a support case for additional help.

    Reference Documentation:

    Hope this helps! If you have any other questions or need further assistance, feel free to ask!

    0 comments No comments

Your answer

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