CloudShell icon indicating copy to clipboard operation
CloudShell copied to clipboard

Powershell connect-Exchangeonline

Open josepmmadd opened this issue 1 year ago • 5 comments

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

josepmmadd avatar Aug 23 '24 16:08 josepmmadd

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?

mbifeld avatar Oct 08 '24 18:10 mbifeld

I'm also having this issue in CloudShell. Bumping for visibility.

ivdok avatar Mar 19 '25 15:03 ivdok

Facing the same issue. Unable to add Service Principal to Microsoft Exchange to use Oauth2 for sending mail through outlook

mayur2281 avatar Apr 09 '25 12:04 mayur2281

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

farialima-azure avatar Jun 07 '25 19:06 farialima-azure

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.

mbifeld avatar Sep 09 '25 18:09 mbifeld