Skip to content

Commit bb90f19

Browse files
Merge pull request #276338 from shikhagarg1/main
Updated info for app permissions for admin ui
2 parents 36ab54e + d282a41 commit bb90f19

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

articles/energy-data-services/how-to-deploy-osdu-admin-ui.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,12 @@ The OSDU Admin UI enables platform administrators to manage the Azure Data Manag
1818
## Prerequisites
1919
- Install [Visual Studio Code with Dev Containers](https://code.visualstudio.com/docs/devcontainers/tutorial). It's possible to deploy the OSDU Admin UI from your local computer using either Linux or Windows Subsystem for Linux (WSL), we recommend using a Dev Container to eliminate potential conflicts of tooling versions, environments etc.
2020
- An [Azure Data Manager for Energy instance](quickstart-create-microsoft-energy-data-services-instance.md).
21-
- An [Microsoft Entra ID App Registration](/entra/identity-platform/quickstart-register-app). <br> This App Registration can be the same as the one used for the Azure Data Manager for Energy instance.
22-
23-
> [!IMPORTANT]
24-
> The following API permissions are required on the App Registration for the Admin UI to function properly.
25-
> - [Application.Read.All](/graph/permissions-reference#applicationreadall)
26-
> - [User.Read](/graph/permissions-reference#applicationreadall)
27-
> - [User.ReadBasic.All](/graph/permissions-reference#userreadbasicall)
28-
>
29-
> Upon first login to the Admin UI it will request the necessary permissions. You can also grant the required permissions in advance, see [App Registration API Permission documentation](/entra/identity-platform/quickstart-configure-app-access-web-apis#application-permission-to-microsoft-graph).
21+
- An [Microsoft Entra ID App Registration](/entra/identity-platform/quickstart-register-app). <br> This App Registration can be the same as the one used for the Azure Data Manager for Energy instance. The following API permissions are required on the App Registration for the Admin UI to function properly.
22+
- [Application.Read.All](/graph/permissions-reference#applicationreadall)
23+
- [User.Read](/graph/permissions-reference#applicationreadall)
24+
- [User.ReadBasic.All](/graph/permissions-reference#userreadbasicall)
25+
26+
Upon first login to the Admin UI it will request the necessary permissions. You can also grant the required permissions in advance, see [App Registration API Permission documentation](/entra/identity-platform/quickstart-configure-app-access-web-apis#application-permission-to-microsoft-graph).
3027

3128
## Environment setup
3229
1. Use the Dev Container in Visual Studio Code to deploy the OSDU Admin UI to eliminate conflicts from your local machine.
@@ -179,6 +176,8 @@ The OSDU Admin UI enables platform administrators to manage the Azure Data Manag
179176
> [!NOTE]
180177
> [OSDU Connector API](https://community.opengroup.org/osdu/ui/admin-ui-group/admin-ui-totalenergies/connector-api-totalenergies) is built as an interface between consumers and OSDU APIs wrapping some API chain calls and objects. Currently, it manages all operations and actions on project and scenario objects.
181178

179+
1. If you are not able to give access to the app as defined in the prerequisite step, remove `User.Read`, `User.ReadBasic.All` and `Application.Read.All` from the `src/config/environments/environment.ts`. Removing these permissions would disable the Admin UI from converting the OIDs of users and applications into the user names and application names respectively and hence would disable the autocomplete feature of resolving OIDs from names.
180+
182181
1. Build the web UI.
183182
```bash
184183
ng build

0 commit comments

Comments
 (0)