Skip to content

Lepaya/microsoft-graph-permissions-powershell-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Lepaya Learning MS Teams app - MS Graph permissions PowerShell scripts

Powershell scripts to add/remove permissions to the Lepaya Learning MS Teams app

Prerequisites

  • Powershell environment (version 7.3.0)
  • Powershell Module: Microsoft.Graph.Applications 1.17.0

Usage:

ℹ️ Detailed instructions on how to run this script can be found here!

Add Permissions to the Lepaya Learning MS Teams app

pwsh ./addPermissionsLepaya.ps1 -servicePrincipalID SERVICE_PRINCIPAL_OBJECT_ID

-servicePrincipalID: app's identity in the Azure AD tenant.

Add permissions for a specific resource (optional)

pwsh ./addPermissionsLepaya.ps1 -servicePrincipalID SERVICE_PRINCIPAL_OBJECT_ID -resourceId MICROSOFT_GRAPH_OBJECT_ID

-servicePrincipalID: app's identity in the Azure AD tenant.

-resourceId: service to which the permissions are associated. In our case it is Microsoft Graph.

Remove ALL granted permissions

pwsh ./removePermissionsLepaya.ps1 -servicePrincipalID SERVICE_PRINCIPAL_OBJECT_ID

-servicePrincipalID: app's identity in the Azure AD tenant.

About

Simple script to add additional permissions to Lepaya MS Teams App

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •