-
Notifications
You must be signed in to change notification settings - Fork 12
Home
Situation before writing this script:
I have a reporting tool that generates PDF files. Those PDF's are being attached to email and sent to target audience.
The issue:
Copy of the report is being attached to hundreds of email and sent to hundreds of users. Majority of users tend to download the reports instead of just previewing it inside the email client. With the current COVID-19 and the work from home situation, the security risk has exponentially increased with users using personal computers to access these sensitive reports and saving copies on unapproved computers.
The solution:
Creating a script that upload the generated reports to a central location on the organization OneDrive account and only send a link to this location to users, eliminating sending hundreds of copies via emails. And with OneDrive encouraging online preview, we are decreasing the probability of downloading these reports, hence reducing the security risk.
-
The challenge and solution described above, led me to creating this script
-
The Microsoft extensive documentation, the maze of links and my struggle to find a ready to use solution led me to share this script.
Feel free to use it anyway you like and any question/feedback are welcomed.