Skip to content

glueckkanja/gk-modernsharemigrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modern Share Migrator

Deployment

Register Modern Share Migrator in Azure Active Directory

Add a new app registration in Azure Active Directory

  1. Login to your Azure Portal with an Admin Account.
  2. Navigate to Azure Active Directory
  3. Choose App registrations
  4. Click New registration
  5. Set supported account types to Accounts in this organizational directory only
  6. Set the redirect URI to the app service URL of Modern Share Migrator Screenshot
  7. Save the Application (client) ID somewhere because you will need it for the deployment Screenshot

Note: Redirect URI: https://[your app service name].azurewebsites.net/signin-oidc

Manage authentication

  1. Select the Authentication blade Screenshot
  2. Check ID tokens in the Advaned settings section Screenshot
  3. Save your changes
  4. Ensure the redirect URI is valid!

Create a client secret

  1. Select the Certificates & secrets blade Screenshot
  2. Add a new client secret with New client secret Screenshot
  3. Define a Description and set expiration to Never
  4. Save the generated secret somewhere because you are not able to look it up again

Set API permissions

  1. Select the API permissions blade
  2. Click Add a permission to grant required permissions
  3. Select Microsoft Graph
  4. Expand Group and check Group.ReadWrite.All
  5. Expand User and check User.Read.All and confirm with Add permission
  6. Click Grant admin consent and confirm the displayed dialog with Yes Screenshot

SharePoint Online Add-in permissions

Use this URL to register SharePoint Add-ins: https://[your tenant]-admin.sharepoint.com/_layouts/15/appinv.aspx

Paste the Application (client) ID in the App Id field and click Lookup. Check if Title and Redirect URL are correct. Set the App Domain. Paste the following XML in the App's Permission Request XML:

<AppPermissionRequests AllowAppOnlyPolicy="true">
    <AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl" /> 
</AppPermissionRequests>

Screenshot

Deploy to Azure

When the app registration is done use this button to deploy Modern Share Migrator to your Azure subscription.

Prod

Beta

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published