This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$m365Status = m365 status | |
if ($m365Status -eq "Logged Out") { | |
# Connection to Microsoft 365 | |
m365 login | |
} | |
$webhookUrl = "https://digiwijs.webhook.office.com/webhookb2/c9c07cd0-9a64-42aa-9577-c9408fd25079@2ca3eaa5-140f-4175-9563-1172edf9f339/IncomingWebhook/dd1b9d0bbc69497d8ea8f47533f87973/88e85b64-e687-4e0b-bbf4-f42f5f8e674e" | |
# Send top 3 for SharePoint based on file actions. |