At times it's necessary to be able to get tokens for different Microsoft cloud platforms without having access to Developer kits or .dll modules. This function shows how different tokens can be gained using passwords, interactive OICD login, passwords etc.
It's one of my best examples of how agile code development needs refactoring after years of ongoing updates. It will produce a hashtable that I can use in REST calls to the various Microsoft portals like Azure or Office 365.