Skip to content

Commit 3010136

Browse files
authored
Merge pull request #267929 from NandiniMurali/patch-3
Enable Update CORS feature
2 parents d304f23 + 2562862 commit 3010136

File tree

9 files changed

+20
-17
lines changed

9 files changed

+20
-17
lines changed

articles/energy-data-services/how-to-enable-cors.md

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,29 @@ You can set CORS rules for each Azure Data Manager for Energy instance. When you
2020
## Enabling CORS on Azure Data Manager for Energy instance
2121

2222
1. Create an **Azure Data Manager for Energy** instance.
23-
2. Select the **Resource Sharing(CORS)** tab.
23+
1. Select the **Resource Sharing(CORS)** tab.
2424
[![Screenshot of Resource Sharing(CORS) tab while creating Azure Data Manager for Energy.](media/how-to-enable-cors/enable-cors-1.png)](media/how-to-enable-cors/enable-cors-1.png#lightbox)
2525

26-
3. In the Resource Sharing(CORS) tab, select **Allowed Origins**.
27-
4. There can be upto 5 **Allowed Origins** added for a given instance.
26+
1. In the Resource Sharing(CORS) tab, select **Allowed Origins**.
27+
1. There can be upto 5 **Allowed Origins** added for a given instance.
2828
[![Screenshot of 1 allowed origin selected.](media/how-to-enable-cors/enable-cors-2.png)](media/how-to-enable-cors/enable-cors-2.png#lightbox)
29-
5. If you explicitly want to have ***(Wildcard)**, then in the allowed origin * can be added.
30-
6. If no setting is enabled on CORS page it's defaulted to Wildcard*, allow all.
31-
7. The other values of CORS policy like **Allowed Methods**, **Allowed Headers**, **Exposed Headers**, **Max age in seconds** are set with default values displayed on the screen.
32-
7. Next, select “**Review+Create**” after completing other tabs.
33-
8. Select the "**Create**" button.
34-
9. An **Azure Data Manager for Energy** instance is created with CORS policy.
35-
10. Next, once the instance is created the CORS policy set can be viewed in instance **overview** page.
36-
11. You can navigate to **Resource Sharing(CORS)** and see that CORS is enabled with required **Allowed Origins**.
37-
[![Screenshot of viewing the CORS policy set out.](media/how-to-enable-cors/enable-cors-3.png)](media/how-to-enable-cors/enable-cors-3.png#lightbox)
29+
1. If you explicitly want to have ***(Wildcard)**, then in the allowed origin * can be added.
30+
1. If no setting is enabled on CORS page it's defaulted to Wildcard*, allow all.
31+
1. The other values of CORS policy like **Allowed Methods**, **Allowed Headers**, **Exposed Headers**, **Max age in seconds** are set with default values displayed on the screen.
32+
1. Next, select “**Review+Create**” after completing other tabs.
33+
1. Select the "**Create**" button.
34+
1. An **Azure Data Manager for Energy** instance is created with CORS policy.
35+
1. Next, once the instance is created the CORS policy set can be viewed in instance **overview** page.
36+
1. You can navigate to **Resource Sharing(CORS)** and see that CORS is enabled with required **Allowed Origins**.
37+
[![Screenshot of navigation to CORS update page.](media/how-to-enable-cors/enable-cors-4.png)](media/how-to-enable-cors/enable-cors-4.png#lightbox)
38+
1. You can modify the Allowed Origins in CORS page at any time after Azure data manager for Energy instance is provisioned.
39+
1. For adding a new origin type on the box below.
40+
[![Screenshot of adding new origin.](media/how-to-enable-cors/enable-cors-5.png)](media/how-to-enable-cors/enable-cors-5.png#lightbox)
41+
1. For deleting an existing allowed origin use the icon.
42+
[![Screenshot of deleting the existing origin.](media/how-to-enable-cors/enable-cors-6.png)](media/how-to-enable-cors/enable-cors-6.png#lightbox)
43+
1. If * ( wildcard all) is added in any of the allowed origins then please ensure to delete all the other individual allowed origins.
44+
1. Once the Allowed origin is added, the state of resource provisioning is in “Accepted” and during this time further modifications of CORS policy will not be possible. It takes 15 mins for CORS policies to be updated before update CORS window is available again for modifications.
45+
[![Screenshot of CORS update window set out.](media/how-to-enable-cors/enable-cors-7.png)](media/how-to-enable-cors/enable-cors-7.png#lightbox)
3846

3947
## How are CORS rules evaluated?
4048
CORS rules are evaluated as follows:
@@ -43,15 +51,10 @@ CORS rules are evaluated as follows:
4351

4452
## Limitations on CORS policy
4553
The following limitations apply to CORS rules:
46-
- You can specify up to five CORS rules per instance.
4754
- The maximum size of all CORS rules settings on the request, excluding XML tags, shouldn't exceed 2 KiB.
4855
- The length of allowed origin shouldn't exceed 256 characters.
4956

50-
5157
## Next steps
52-
- CORS policy once set up during provisioning can be modified only through a Support request
53-
> [!div class="nextstepaction"]
54-
> [Create an Azure support request](../azure-portal/supportability/how-to-create-azure-support-request.md)
5558
- To learn more about CORS
5659
> [!div class="nextstepaction"]
5760
> [CORS overview](/rest/api/storageservices/cross-origin-resource-sharing--cors--support-for-the-azure-storage-services)
91.5 KB
Loading
106 KB
Loading
109 KB
Loading
58.7 KB
Loading
91.5 KB
Loading
106 KB
Loading
109 KB
Loading
607 KB
Loading

0 commit comments

Comments
 (0)