Open
Description
I'd like to extend the existing documentation on how to handle authentication to multiple tenants by your own function.
At the time of opening this topic, there is a lack of documentation here with the note “content to follow”:
https://pnp.github.io/powershell/articles/handlingmultitenantauth#idea-1-create-your-own-function-to-encapsulate-the-connection-logic
As I've already wrote an appropriate solution (script) for this, I'd like to share it with the community by adding it to the documentation: https://gist.github.com/tmaestrini/d1110a325f079d66a3498e303aeca078