internal/tepp/msgraph.tepp.ps1


Register-PSFTeppScriptblock -Name "MSGraph.Exchange.Mail.WellKnowFolders" -ScriptBlock { [enum]::GetNames([MSGraph.Exchange.Mail.WellKnownFolder]) | ForEach-Object { (Get-Culture).TextInfo.ToTitleCase( $_ ) } }

Register-PSFTeppScriptblock -Name "MSGraph.Exchange.Category.Colors" -ScriptBlock { [enum]::GetNames([MSGraph.Exchange.Category.ColorName]) }

Register-PSFTeppScriptblock -Name "MSGraph.Core.Permission.Consent.User" -ScriptBlock { @(
    'email',
    'openid',
    'profile',
    'offline_access',
    'Bookings.Manage.All',
    'Bookings.Read.All',
    'Bookings.ReadWrite.All',
    'BookingsAppointment.ReadWrite.All',
    'Calendars.Read',
    'Calendars.Read.Shared',
    'Calendars.ReadWrite',
    'Calendars.ReadWrite.Shared',
    'Contacts.Read',
    'Contacts.Read.Shared',
    'Contacts.ReadWrite',
    'Contacts.ReadWrite.Shared',
    'Device.Command',
    'Device.Read',
    'EAS.AccessAsUser.All',
    'Files.Read',
    'Files.Read.All',
    'Files.Read.Selected',
    'Files.ReadWrite',
    'Files.ReadWrite.All',
    'Files.ReadWrite.AppFolder',
    'Files.ReadWrite.Selected',
    'Financials.ReadWrite.All',
    'Mail.Read',
    'Mail.Read.Shared',
    'Mail.ReadWrite',
    'Mail.ReadWrite.Shared',
    'Mail.Send',
    'Mail.Send.Shared',
    'MailboxSettings.Read',
    'MailboxSettings.ReadWrite',
    'Notes.Create',
    'Notes.Read',
    'Notes.Read.All',
    'Notes.ReadWrite',
    'Notes.ReadWrite.All',
    'Notes.ReadWrite.CreatedByApp',
    'Notifications.ReadWrite.CreatedByApp',
    'People.Read',
    'Sites.Manage.All',
    'Sites.Read.All',
    'Sites.ReadWrite.All',
    'Tasks.Read',
    'Tasks.Read.Shared',
    'Tasks.ReadWrite',
    'Tasks.ReadWrite.Shared',
    'User.Read',
    'User.ReadBasic.All',
    'User.ReadWrite',
    'UserActivity.ReadWrite.CreatedByApp',
    'UserTimelineActivity.Write.CreatedByApp'
) }