Hello,
Apologies for all the additional questions, do I need to register the 0365 Tenant for this or do I just need to install the Microsoft Azure Active Directory Module.
The Office 365 tenant should be registered in Adaxes and associated with the users the Custom Command is supposed to be executed on.
Was looking at this documentation and it looks to be way more than we need for what we are trying to do.
Unfortunately, the approach described in the tutorial cannot be used for managing Office 365 MFA. Currently, in Adaxes it can be done only using PowerShell scripts. If you need to delegate permissions to execute specific scripts, the scripts should be specified in Custom Commands and the delegates should have permissions to execute the commands. For information on how to delegate the permissions, please, have a look at the following tutorial: https://www.adaxes.com/tutorials_DelegatingPermissions_GrantRightsToExecuteCustomCommands.htm.