To help you better we need some information from you.
*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product, version and build: PowerShell Studio 2019
32 or 64 bit version of product:64
Operating system: Win10
32 or 64 bit OS: 64
*** Please add details and screenshots as needed below. ***
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
I'm trying to connect to Exchange Online with MFA enabled and I'm getting the error below. I am able to run connect-msolservice with MFA enabled and the prompt for credentials works with no problem. Is there a way to connect to Exchange Online with MFA enabled using PowerShell Studio 2019?
ERROR: connect-EXOPSSession : The term 'connect-EXOPSSession' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
ERROR: spelling of the name, or if a path was included, verify that the path is correct and try again.
Get-ExchangeOnline.ps1 (3, 1): ERROR: At Line: 3 char: 1
ERROR: + connect-EXOPSSession -userprincipalname <userID@domain.com>
ERROR: + ~~~~~~~~~~~~~~~~~~~~
ERROR: + CategoryInfo : ObjectNotFound: (connect-EXOPSSession:String) [], CommandNotFoundException
ERROR: + FullyQualifiedErrorId : CommandNotFoundException
ERROR:
Exchange online connect-exopssession with MFA
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- computernations
- Posts: 10
- Last visit: Thu Aug 08, 2019 11:38 am
Re: Exchange online connect-exopssession with MFA
That command hasn't been imported into your script.
The following article should help:
https://docs.microsoft.com/en-us/powers ... xchange-ps
The following article should help:
https://docs.microsoft.com/en-us/powers ... xchange-ps
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.