Powershell connect-Exchangeonline
I want to connect to exchange online in order to set permissions to an account or office365 for send and receive emails without need verification... Form daemon applications.
I'm comfigure this with Powershell and i cannot continue because i can not connect with Exchange online.
When i put the command:
Connect-ExchangeOnline -UserPrincipalName [email protected]
Raise this error:
Connect-ExchangeOnline: A parameter cannot be found that matches parameter name 'UserPrincipalName'.
What appens. Can you help me ?
Thanks
Hi @josepmmadd , thank you for filing this bug and bringing this issue to our attention. Does this work for you locally outside of Cloud Shell?
I'm also having this issue in CloudShell. Bumping for visibility.
Facing the same issue. Unable to add Service Principal to Microsoft Exchange to use Oauth2 for sending mail through outlook
Same problem; Using "Connect-ExchangeOnline" in the "Cloud Shell" on https://admin.exchange.microsoft.com/#/ connected me (using my UPN). So I guess this parameter isn't available in the cloud shell version
Hi all, does this command run successfully in your local terminals? I'm trying to understand if this is unique to Cloud Shell or not. It's very weird that it doesn't recognize a parameter.