Skip to content

Commit 56b025c

Browse files
authored
Merge pull request #5265 from sympmarc/dev
Updates to registerapplication to match the current UIs and show PnP.…
2 parents e142d6e + c0744b1 commit 56b025c

19 files changed

Lines changed: 14 additions & 9 deletions

pages/articles/registerapplication.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,29 @@ Another option is to manually create the application registration in Entra ID. W
3131

3232
1. [Navigate to the Entra ID portal](https://entra.microsoft.com) and authenticate with an account that has permissions to create application registrations
3333

34-
1. Using the menu on the left, go to _Identity_ > _Applications_ > _App registrations_
34+
1. Using the menu on the left, go to _Entra ID_ > _App registrations_
3535

3636
![image](../images/registerapplication/entraid_navigate_to_app_registrations.png)
3737

3838
1. At the top, click on _New registration_
3939

4040
![image](../images/registerapplication/entraid_new_app_registration.png)
4141

42-
1. In the _Name_ field, enter any name you would like which indicates to you what the purpose of this script is. Leave the rest of the fields as they are and click on _Register_ at the bottom of the page.
42+
1. In the _Name_ field, enter any name you would like which indicates to you what the purpose of this script is. (We recommend _PnP.PowerShell_ so the name matches the module.) Leave the rest of the fields as they are and click on _Register_ at the bottom of the page.
4343

4444
![image](../images/registerapplication/entraid_new_app_registration_enter_name.png)
4545

46-
1. Take note of the _Application (client) ID_ value, as you will use this to connect to PnP PowerShell using the application registration you have just created
46+
1. Take note of the _Application (client) ID_ value, as you will use this to connect to PnP.PowerShell using the application registration you have just created
4747

4848
![image](../images/registerapplication/entraid_new_app_clientid.png)
4949

50-
1. In the menu, look for _Manage_ and click on _Authentication_
50+
1. In the menu, look for _Manage_ and click on _Authentication_. You may see _Authentication (Preview)_, as things are in flux as of March 2026.
5151

5252
![image](../images/registerapplication/entraid_new_app_authentication_menu.png)
5353

54+
* If you see an option to switch to the old expereience, click the link.
55+
![image](../images/registerapplication/entraid_new_app_authentication_menu_switch.png)
56+
5457
1. Under _Platform configurations_ on the page, click on _Add a platform_
5558

5659
![image](../images/registerapplication/entraid_new_app_authentication_add_platform.png)
@@ -63,7 +66,7 @@ Another option is to manually create the application registration in Entra ID. W
6366

6467
http://localhost
6568

66-
Note that this should really be http and not https
69+
Note that this should really be `http` and NOT `https`
6770

6871
Click on _Configure_ at the bottom
6972

@@ -73,23 +76,23 @@ Another option is to manually create the application registration in Entra ID. W
7376

7477
![image](../images/registerapplication/entraid_new_app_apipermissions_menu.png)
7578

76-
1. In the _Configured permissions_ section, click on the three dots in the line that reads _Microsoft Graph (1)_ and click on _Remove all permissions_ and click on _Yes, remove_ in the confirmation dialog that will show up.
79+
1. In the _Configured permissions_ section, click on the three dots in the line that reads _Microsoft Graph (1)_ and click on _Remove all permissions_ and click on _Yes, remove_ in the confirmation dialog that will show up. This lets us start with a clean set of permissions.
7780

7881
![image](../images/registerapplication/entraid_new_app_apipermissions_removedefault.png)
7982

8083
1. In the _Configured permissions_ section, click on _Add a permission_
8184

8285
![image](../images/registerapplication/entraid_new_app_apipermissions_addpermission.png)
8386

84-
1. In the panel on the right, stay in the _Microsoft APIs_ category and scroll down to _SharePoint_ and click on it
87+
1. In the panel on the right, stay in the _Microsoft APIs_ / _Commonly used Microsoft APIs_ category and scroll down to _SharePoint_ and click on it
8588

8689
![image](../images/registerapplication/entraid_new_app_apipermissions_addpermission_sharepoint.png)
8790

8891
1. Click on _Delegated permissions_
8992

9093
![image](../images/registerapplication/entraid_new_app_apipermissions_addpermission_sharepoint_delegated.png)
9194

92-
1. Expand _AllSites_ and check the box for _AllSites.Read_ or any other permission you wish to use with your application registration and click on _Add permissions_ at the bottom
95+
1. Expand _AllSites_ and check the box for _AllSites.Read_ or any other permission you wish to use with your application registration and click on _Add permissions_ at the bottom. It's important to note here that _Delegated Permissions_ means that adding a permission level here does not mean that anyone gets those permissions. Any user running scripts must have the permissions they are trying to use. The App Registration effectively acts as a broker between the user's permissions and the permissions the App Registration allows. The permissions you'll want to grant here will vary based on the work you need people to be able to do. The article [What permissions the PnP Management Shell app had in the past?](https://pkbullock.com/blog/2024/permissions-for-pnp-management-shell-app) from [Paul Bullock, MVP and PnP Team Member](https://www.linkedin.com/in/pkbullock/) is a great primer on what you might want to add.
9396

9497
![image](../images/registerapplication/entraid_new_app_apipermissions_addpermission_sharepoint_delegated_allsites_read.png)
9598

@@ -99,14 +102,16 @@ Another option is to manually create the application registration in Entra ID. W
99102

100103
![image](../images/registerapplication/entraid_new_app_apipermissions_addpermission_grant_admin_consent.png)
101104

102-
1. In the panel on the right, select _No, remove other granted permissions_ and click on _Grant admin consent_ at the bottom. In the confirmation dialog that appears, click _Yes_.
105+
1. If you had previously granted permissions to this App Registration and are making changes, you may see the _Grant admin consent panel_. If not, skip to the next step. In the panel on the right, select _No, remove other granted permissions_ and click on _Grant admin consent_ at the bottom. In the confirmation dialog that appears, click _Yes_.
103106

104107
![image](../images/registerapplication/entraid_new_app_apipermissions_addpermission_grant_admin_consent_remove_other.png)
105108

106109
1. The _Configured permissions_ section should now look similar to the screenshot below. You can now use this application to [connect to PnP PowerShell](authentication.md) or [add additional permissions](determinepermissions.md) to this application registration as necessary.
107110

108111
![image](../images/registerapplication/entraid_new_app_apipermissions_minimal.png)
109112

113+
If you plan to use App Registration access only, then you can stop here.
114+
110115
## Setting up access to your own Entra ID App for App Only Access
111116

112117
If you're looking to register an application in Entra ID to use PnP PowerShell with a script that will run without requiring user interaction, App Only described in this section is what you want to go with.
-12.8 KB
Loading
-23.8 KB
Loading
-95.2 KB
Loading
-17 KB
Loading
68.6 KB
Loading
-16.5 KB
Loading
-24.9 KB
Loading
-28.2 KB
Loading
-61.1 KB
Loading

0 commit comments

Comments
 (0)