Skip to content

Commit

Permalink
Commit from GitHub Actions (Build Documentation Site)
Browse files Browse the repository at this point in the history
  • Loading branch information
KoenZomers committed Sep 9, 2024
1 parent daa0824 commit 4c435eb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion articles/determinepermissions.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@
</div>
<h1 id="how-to-determine-which-permissions-you-need">How to determine which permissions you need</h1>

<p>As of September 9<sup>th</sup>, 2024, it is <a href="https://pnp.github.io/blog/post/changes-pnp-management-shell-registration/">required to use your own Entra ID Application Registration</a> to use PnP PowerShell. This introduces the complexity of trying to determine the minimum set of permissions you will need to be able to execute your script. This article aims to help you in determining the permissions you need to set on your Entra ID Application Registration.</p>
<div class="IMPORTANT">
<h5>Important</h5>
<p>As of September 9<sup>th</sup>, 2024, it is <a href="https://github.com/pnp/powershell/issues/4250">required to use your own Entra ID Application Registration</a> to use PnP PowerShell. This introduces the complexity of trying to determine the minimum set of permissions you will need to be able to execute your script. This article aims to help you in determining the permissions you need to set on your Entra ID Application Registration.</p>
</div>
<h2 id="creating-an-entra-id-application-registration">Creating an Entra ID Application Registration</h2>
<p>In case you're starting from the beginning and you do not have your own Entra ID Application Registration yet to use with PnP Powershell, which is mandatory, you can <a href="registerapplication.html">follow these steps</a> to create your Entra ID Application Registration.</p>
<h2 id="starting-with-minimal-permissions">Starting with minimal permissions</h2>
Expand Down
5 changes: 4 additions & 1 deletion articles/registerapplication.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@
</div>
<h1 id="register-an-entra-id-application-to-use-with-pnp-powershell">Register an Entra ID Application to use with PnP PowerShell</h1>

<p>It has always been a recommended practise to register your own Entra ID Application to use with PnP PowerShell. As of September 9<sup>th</sup>, 2024, <a href="https://pnp.github.io/blog/post/changes-pnp-management-shell-registration/">this has become mandatory step</a>. This article will guide you through how to do so.</p>
<div class="IMPORTANT">
<h5>Important</h5>
<p>It has always been a recommended practise to register your own Entra ID Application to use with PnP PowerShell. As of September 9<sup>th</sup>, 2024, <a href="https://github.com/pnp/powershell/issues/4250">this has become mandatory step</a>. This article will guide you through how to do so.</p>
</div>
<p>The first decission you will have to make is whether you are going to interactively log on through PnP PowerShell to your tenant by providing your credentials, <a href="#setting-up-access-to-your-own-entra-id-app-for-interactive-login">Interactive Login</a>, or if you are aiming to write a script that will log on without requiring any user intervention, <a href="#setting-up-access-to-your-own-entra-id-app-for-app-only-access">App Only Access</a>. Depending on your scenario, continue reading in the appropriate section below.</p>
<h2 id="setting-up-access-to-your-own-entra-id-app-for-interactive-login">Setting up access to your own Entra ID App for Interactive Login</h2>
<p>In this scenario, you will be creating an application registration in Entra ID which will allow you to interactively log on to your tenant using PnP PowerShell. This means that each time you use PnP PowerShell, you will need to enter your credentials and comply with any multi factor authentication and conditional access policies that may have been set up on your tenant.</p>
Expand Down
Loading

0 comments on commit 4c435eb

Please sign in to comment.