You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ms.custom: template-how-to-pattern #Required; leave this attribute/value as-is.
10
10
---
11
-
# Use CORS for resource sharing in Azure Data Manager for Energy
11
+
# Use CORS for resource sharing in Azure Data Manager for Energy Preview
12
12
13
13
## What is CORS?
14
14
15
15
CORS (Cross Origin Resource Sharing) is an HTTP feature that enables a web application running under one domain to access resources in another domain. In order to reduce the possibility of cross-site scripting attacks, all modern web browsers implement a security restriction known as same-origin policy, which prevents a web page from calling APIs in a different domain. CORS provides a secure way to allow one origin (the origin domain) to call APIs in another origin.
16
-
You can set CORS rules for each Microsoft Energy Data Services instance. When you set CORS rules for the instance it gets applied automatically across all the services and storage accounts linked with Microsoft Energy Data services. Once you set the CORS rules, then a properly authorized request made against the service evaluates from a different domain to determine whether it's allowed according to the rules you've specified.
16
+
You can set CORS rules for each Azure Data Manager for Energy Preview instance. When you set CORS rules for the instance it gets applied automatically across all the services and storage accounts linked with Azure Data Manager for Energy Preview services. Once you set the CORS rules, then a properly authorized request made against the service evaluates from a different domain to determine whether it's allowed according to the rules you've specified.
17
17
18
18
19
-
## Enabling CORS on Azure Data Manager for Energy instance
19
+
## Enabling CORS on Azure Data Manager for Energy instance Preview
20
20
21
-
1. Create an **Azure Data Manager for Energy** instance.
21
+
1. Create an **Azure Data Manager for Energy Preview** instance.
22
22
2. Select the **Resource Sharing(CORS)** tab.
23
23
[](media/how-to-enable-cors/enable-cors-1.png#lightbox)
24
24
@@ -30,7 +30,7 @@ You can set CORS rules for each Microsoft Energy Data Services instance. When yo
30
30
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.
31
31
7. Next, select “**Review+Create**” after completing other tabs.
32
32
8. Select the "**Create**" button.
33
-
9. An **Azure Data Manager for Energy** instance is created with CORS policy.
33
+
9. An **Azure Data Manager for Energy Preview** instance is created with CORS policy.
34
34
10. Next, once the instance is created the CORS policy set can be viewed in instance **overview** page.
35
35
11. You can navigate to **Resource Sharing(CORS)** and see that CORS is enabled with required **Allowed Origins**.
36
36
@@ -50,8 +50,8 @@ The following limitations apply to CORS rules:
50
50
51
51
## Next steps
52
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)
53
+
> [!div class="nextstepaction"]
54
+
> [Create an Azure support request](../azure-portal/supportability/how-to-create-azure-support-request.md)
0 commit comments