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:
- 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.
- 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.
- 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.
- 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: