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
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ curl --location --request POST 'https://login.microsoftonline.com/<tenant-id>/oa
111
111
112
112
:::image type="content" source="media/how-to-manage-users/profile-object-id.png" alt-text="Screenshot of finding the object-id from the profile.":::
113
113
114
-
## First time addition of user to a new data partition
114
+
## First time addition of users in a new data partition
115
115
In order to add entitlements to a new data partition of Azure Data Manager for Energy instance, use the SPN token of the app which was used to provision the instance. If you try to directly use user tokens for adding entitlements, it results in 401 error. The SPN token must be used to add initial users in the system and those users (with admin access) can manage rest of the additional users.
116
116
117
117
The SPN is generated using client_credentials flow
@@ -125,7 +125,7 @@ curl --location --request POST 'https://login.microsoftonline.com/<tenant-id>/oa
125
125
--data-urlencode 'resource=<client-id>'
126
126
```
127
127
128
-
## Get the list of all available groups for a data partition
128
+
## Get the list of all available groups in a data partition
129
129
130
130
Run the below curl command in Azure Cloud Bash to get all the groups that are available for your Azure Data Manager for the Energy instance and its data partitions.
131
131
@@ -178,7 +178,7 @@ Consider an Azure Data Manager for Energy instance named "medstest" with a data
178
178
> The app-id is the default OWNER of all the groups.
179
179
:::image type="content" source="media/how-to-manage-users/appid.png" alt-text="Screenshot of app-d in Microsoft Entra ID.":::
180
180
181
-
## Add user(s) to an entitlements group
181
+
## Add user(s) to an entitlements group in a data partition
182
182
183
183
1. Run the below curl command in Azure Cloud Bash to add the user(s) to an entitlement group using the Entitlement service.
184
184
2. The value to be sent for the param **"email"** is the **Object_ID (OID)** of the user and not the user's email.
@@ -219,7 +219,7 @@ Consider an Azure Data Manager for Energy instance named "medstest" with a data
219
219
}
220
220
```
221
221
222
-
## Get entitlements groups for a given user
222
+
## Get entitlements groups for a given user in a data partition
223
223
224
224
1. Run the below curl command in Azure Cloud Bash to get all the groups associated with the user.
225
225
@@ -259,7 +259,7 @@ Consider an Azure Data Manager for Energy instance named "medstest" with a data
259
259
}
260
260
```
261
261
262
-
## Delete entitlement groups of a given user
262
+
## Delete entitlement groups of a given user in a data partition
263
263
264
264
1. Run the below curl command in Azure Cloud Bash to delete a given user from a given data partition.
265
265
2. As stated above, **DO NOT** delete the OWNER of a group unless you have another OWNER who can manage users in that group.
0 commit comments