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
Copy file name to clipboardExpand all lines: articles/energy-data-services/how-to-manage-users.md
+23-15Lines changed: 23 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ curl --location --request POST 'https://login.microsoftonline.com/<tenant-id>/oa
82
82
"token_type": "Bearer",
83
83
"expires_in": 86399,
84
84
"ext_expires_in": 86399,
85
-
"access_token": abcdefgh123456............."
85
+
"access_token": "abcdefgh123456............."
86
86
}
87
87
```
88
88
Copy the `access_token` value from the response. You'll need it to pass as one of the headers in all calls to the Entitlements API of your Microsoft Energy Data Services Preview instance.
@@ -125,10 +125,12 @@ The value to be sent for the param **"email"** is the **Object_ID (OID)** of the
125
125
126
126
**Sample request**
127
127
128
+
Consider a Microsoft Energy Data Services instance named "medstest" with a data partition named "dp1"
129
+
128
130
```bash
129
-
curl --location --request POST 'https://<instance>.energy.azure.com/api/entitlements/v2/groups/users@<instance>-<data-partition-name>.dataservices.energy/members' \
0 commit comments