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: docs/transform/modernize-scanner.md
+22-2Lines changed: 22 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: The SharePoint modernization scanner
3
3
description: Gets you started with the SharePoint modernization scanner
4
-
ms.date: 02/14/2020
4
+
ms.date: 07/13/2020
5
5
ms.prod: sharepoint
6
6
localization_priority: Priority
7
7
---
@@ -32,7 +32,7 @@ Since SharePoint Online continuously evolves and more and more modern capabiliti
32
32
33
33
## Step 2: Preparing for a scan
34
34
35
-
Since a typical scan needs to be able to scan all site collections, it's recommended to use an app-only principal with tenant scoped permissions for the scan. This approach will ensure the scanner always has access, if you use an account (for example, your SharePoint tenant admin account) then the scanner can only access the sites where this user also has access. You can either use an Azure AD application or a SharePoint app principal for app-only access:
35
+
Since a typical scan needs to be able to scan all site collections, it's recommended to use an app-only principal with tenant scoped permissions for the scan. This approach will ensure the scanner always has access, if you use an account (for example, your SharePoint tenant admin account) then the scanner can only access the sites where this user also has access. You can either use an Azure AD application or a SharePoint app principal for app-only access and below links describe the manual approach to setting up things. As the recommended approach is Azure AD App-Only, you can easy the setup of your Azure AD application by using the [PnP PowerShell](https://aka.ms/pnppowershell)`Initialize-PnPPowerShellAuthentication` cmdlet. See the **Using Initialize-PnPPowerShellAuthentication to setup Azure AD App-Only** chapter for more details.
36
36
37
37
-[Granting access via Azure AD App-Only (recommended)](../solution-guidance/security-apponly-azuread.md)
38
38
-[Granting access via SharePoint App-Only](../solution-guidance/security-apponly-azureacs.md)
@@ -44,6 +44,26 @@ Since a typical scan needs to be able to scan all site collections, it's recomme
44
44
45
45
Once the preparation work is done, let's continue with doing a scan.
46
46
47
+
### Using Initialize-PnPPowerShellAuthentication to setup Azure AD App-Only
48
+
49
+
To configure Azure AD App-Only using PnP PowerShell follow these steps:
50
+
51
+
1. Install [PnP PowerShell](https://aka.ms/pnppowershell) or update it to the April 2020 or a more recent version
52
+
2. Use the `Initialize-PnPPowerShellAuthentication` cmdet to setup an Azure AD app:
3. You'll be asked to authenticate, ensure you authenticate with a user that is a tenant administrator
59
+
4. The cmdlet will setup an Azure AD app and wait for 60 seconds to give Azure AD time to handle the App creation
60
+
5. You'll be asked to consent the permissions granted to the created Azure AD application:
61
+
1. First you'll be asked to login again, use a tenant administrator account
62
+
2. Next the consent dialog is shown with the requested permissions (see screenshot below). Click **Accept**
63
+
6. Store the returned AzureAppId, created PFX file and password somewhere safe, you'll need to use it as described in below chapter **Authenticate via Azure AD app-only**
## Step 3: Launch a scan using the user interface option
48
68
49
69
The easiest approach is to simply launch SharePoint.Modernization.Scanner.exe as the scanner does have a UI. Alternatively you can start a (PowerShell) command prompt and navigate to that folder so that you can use the scanner via command line. This chapter will walk you through the UI option taking a typical **full** scan. Start by launching the SharePoint.Modernization.Scanner.exe.
0 commit comments