CertificateThumbprint attribute does not found in Exchange Online

Abhishek Goyal 246 Reputation points
2023-05-10T04:41:03.17+00:00

I used the ExchangeOnlineManagement module for using exchange online service via Powershell. The version of the module I used is 3.1.0

According to Microsoft documentation, Connect-ExchangeOnline cmdlet provides CertificateThumbprint attribute for app-only connection.

https://learn.microsoft.com/en-us/powershell/exchange/app-only-auth-powershell-v2?view=exchange-ps

But when I use Connect-ExchangeOnline cmdlet using CertificateThumbprint attribute it gives an error.

User's image

Please help me out with the same.

Appreciate your efforts.

Microsoft Exchange Online
{count} votes

Accepted answer
  1. Yuki Sun-MSFT 41,011 Reputation points
    2023-05-15T06:32:18.9066667+00:00

    Hi @Abhishek Goyal ,

    According to the updated version of this document, it has been confirmed that the "The CertificateThumbprint parameter is supported only in Microsoft Windows."
    User's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Vasil Michev 99,846 Reputation points MVP
    2023-05-10T11:54:24.1133333+00:00

    I'm not sure this parameter is supported on MacOS, as it relies on the Windows methods, afaik. Try using -CertificateFilePath/-CertificatePassword instead?