OneDrive-AutoMapper
OneDrive-AutoMapper copied to clipboard
Code restructure and parameterize secrets
I've changed the code around primarily to be able to pass the TenantID, ClientID, and ClientSecret as parameters. I've also made it easier to convert into a module later by making the main execution a function. (Although running it as a single script as its uses if pushing out through GPO for example.)
I would like to do some additional cleanup in regards to adding typing to more variables etc but wanted to know your interest in taking PRs.
Oh, I used VSCode's "Format Document" function which did a lot of formatting changes. Sorry if that makes it harder to review in a single commit.