Skip to content

Commit

Permalink
No beta
Browse files Browse the repository at this point in the history
  • Loading branch information
directorcia committed Aug 19, 2024
1 parent 877d9e3 commit 27674b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tms-attend-get.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Prerequisites = 1
$systemmessagecolor = "cyan"
$processmessagecolor = "green"

$scopes = "OnlineMeetingArtifact.Read.All, OnlineMeetings.Read" # required to read meeting data
$scopes = "OnlineMeetingArtifact.Read.All, OnlineMeetings.Read","User.Read.All" # required to read meeting data

#region Change to suit environment
$tenantid = "tenant.onmicrosoft.com" # e.g. tenant.onmicrosoft.com
Expand All @@ -37,7 +37,7 @@ write-host -foregroundcolor $systemmessagecolor "Get Teams meeting attendees - s
# Connect to MSGraph
write-host -foregroundcolor $processmessagecolor "Connect to the Microsoft Graph"
# Select-MgProfile beta
Connect-MgGraph -Tenant $tenantid -Scopes $scopes
Connect-MgGraph -Tenant $tenantid -Scopes $scopes -nowelcome

# Get user GUID from email address
write-host -foregroundcolor $processmessagecolor "Get meeting creator GUID"
Expand Down

0 comments on commit 27674b1

Please sign in to comment.