![]() ![]() Also, when you install this module it gets buried in your local app data folder. To connect to Exchange Online or Security and Compliance Center using multi-factor authentication you must use another module that is found in your tenant. One of the issues I faced was the lack of multi-factor authentication support. This allowed me to just open PowerShell and type Connect-O365 to connect to Office 365 instead of looking up the Session information and all of the cmdlets needed. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "" -Credential $UserCredential -Authentication Basic -AllowRedirectionĬonnect-MsolService -Credential $UserCredential I had the following function stored in my PowerShell Profile: function Connect-O365 ![]() I usually have to connect to Office 365 via PowerShell at least once per day.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |