Can you help me?
I can't run: $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri $msoExchangeURL-Credential $cred -Authentication Basic -AllowRedirection
Can you help me?
I can't run: $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri $msoExchangeURL-Credential $cred -Authentication Basic -AllowRedirection
Are you trying to connect to Exchange Online PowerShell using Basic authentication? If this describes your situation, it's recommended to follow the instructions in the document below:
Basic auth - Connect to Exchange Online PowerShell
In case the issue persists, could you clarify it a bit more about what you are encountering like the detailed error you met so that we can try to help further?
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Please edit your post so it uses the Code Sample editor (it's the icon 5th from the left, with "101 010" in it, or use Ctrl+K) for your script code.
It would also help if you stated why you can't run that New-PSSession. Does the target site allow the use of "Basic" authentication?
Yes, you did . . . but you still don't say WHY you can't do that. Is there an error? If so, what is it?
21 people are following this question.