

Hi @KIRANT-6231,
Is this happening only when you try to add specific credentials (in this case O365 credentials) or when trying to add any credentials?
Are you not even able to see 'New Credential' page as shown in below screenshots?


Hello KrishnaG-MSFT
Thanks a lot for your response. i would like to leverage O365 global admin credentials to azure automation and perform some automation tasks. I am new to Azure environment, please do assist on this. Also now credential window have no errors but need help on how to sink Azure automation account with O365 tenant and execute scripts for MFA enabled tenant.
Help is much appreciated :)
Thank you in advance .
Regards,
Kiran.
<<Continued>>
Other references:
Hi @KIRANT-6231,
Glad to know that now the credential window doesn't have any errors.
I recommend you to go through this Azure document completely to learn on managing Office 365 services.
Basically you would have to import the right module or right set of modules in your Azure Automation account and start writing runbooks to connect and perform the task.
If the issue is mainly related to MFA then note that above mentioned Azure document reference clearly states that we can use the MSOnline module to connect to Azure AD from the Office 365 subscription and the connection uses an Office 365 user name and password or uses multi-factor authentication (MFA). In rare case scenario, if there are any supportability issues or access denied issues due to MFA then you might have to give required permission to Azure Automation account's RunAs credential for smoother connectivity.
3 people are following this question.