Autologin for Office365 / Microsoft365

Implemented

Autologin for Office365 / Microsoft365

avatar

As an MSP, we have to login to our customers Microsoft365 quite often.

The login forms of the office-portal is not really compatible with the standard tooling in RDM.

You can work around that by using an "After-Open"-macro, but that is prone to breaking when the device is slow or Microsoft is being slow.

I have written a custom script that can automate the login.

It works by waiting for the input elements to become visible and fills them as soon as they appear.

It can even handle the OTP.

The script is available on my Gitlab as I might need to update it, if Microsoft decides that the current login experience is not painful enough.

Link to the script on Gitlab

To use the script you will need to insert it into the Custom-Script option in your website entry.

You will also need to allow the password to be used in a script.

A preconfigured .rdm file can also be found on gitlab.

I hope it helps someone who might be stuck with a macro or even a manual login.

All Comments (10)

avatar

Hello,

Thank you very much. I think we could do a native integration with your script.

Regards

David Hervieux

avatar

Your are more than welcome to integrate my script into RDM.