Can't create Logic Apps Custom connector in South Africa

Jaco De Bruyn 1 Reputation point
2020-07-24T13:53:34.337+00:00

Hi

I've been trying for 3 days now to create the custom connector in logic apps. 4 different browsers, 3 different networks, two different azure subscriptions. Every time I click Update Connector, it throws everything away. Even if I create just one method manually, say no authentication. It doesn't throw an error, just says connector updated successfully.

I finally figured out that it is because my connector was created in the South Africa North region. I created a new resource group in Germany, and a new custom connector in Northern Europe.
There it worked.

Why would that be? If I check the browser's console, I get this error on the Update Connector button click:

Access to XMLHttpRequest at 'https://losafnor8.blob.core.windows.net/api-swagger-files/[id].json_original?sv=2018-03-28&sr=b&sig=[sig]&se=2020-07-24T14%3A50%3A33Z&sp=r' from origin 'https://flow.microsoft.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

And this:
VM6:1 GET https://losafnor8.blob.core.windows.net/api-swagger-files/id.json_original?sv=2018-03-28&sr=b&sig=[sig]%3D&se=2020-07-24T14%3A50%3A33Z&sp=r net::ERR_FAILED

I can continue working, but the no error message is really frustrating

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,427 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,842 questions
{count} votes

2 answers

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 22,776 Reputation points Microsoft Employee
    2020-07-31T05:27:13.627+00:00

    Hello JacoDeBruyn-3593, since you are using Blob Storage to store your files, you have to enable CORS for your storage account. In the error shown the preflight request was denied as the Blob service properties were not set. You can follow this example for setting up the Blob service properties for CORS and specify the Allowed Origins.

    Please feel free to comment below if this does not resolve the issue, I will be glad to continue with our discussion.


  2. ChaitanyaNaykodi-MSFT 22,776 Reputation points Microsoft Employee
    2020-08-10T19:08:27.003+00:00

    Hello @Jaco De Bruyn ,
    Thank you for your patience. I think the error is specific to the local settings set in your system, which aligns with the observation made by you above. I did reach out to the product group for Logic App and found out that there were no production issues reported for Logic App in South Africa north region during the period mentioned.

    To resolve the issue faced I will suggest that you create a support ticket as it will require a more personalized deep dive into logs and settings. If you do not have a support plan for your Azure subscription id, you can send an email with subject line “Attn:Chaitanya” to AzCommunity[at]Microsoft[dot]com referencing this thread ,Azure subscription ID and your app name. I will follow-up with you as soon as possible.
    Apart from this please feel free to comment below if any additional help is required.

    0 comments No comments