The operation couldn't be performed because object 'Azure AD Authentication' couldn't be found

HugoExceptOnFire 1 Reputation point

I am following this guide to re-create our Exchange Server Federation after the certificate expired:

I've run into a wall at Step 6 with the command Set-FederationTrust -RefreshMetadata -Identity "Azure AD authentication"

I get the error:

The operation couldn't be performed because object 'Azure AD Authentication' couldn't be found on '<Domain Controller>'.  
+ CategoryInfo : NotSpecified: (:) [Set-FederationTrust], ManagementObjectNotFoundException  
+ FullyQualifiedErrorId : [Server=<Exchange Server>,RequestId=9bbb467c-ff3b-424e-9a2e-b205dfb4745e,TimeStamp=15/02/2022 14:23:24] [FailureCategory=Cmdlet-ManagementObjectNotFoundEx  
ception] 5240AF9A,Microsoft.Exchange.Management.SystemConfigurationTasks.SetFederationTrust  
+ PSComputerName : <Exchange Server>  

I'm unsure if Azure AD Authentication is a placeholder for a user or something or what, can't find much info on what the Identity parameter is meant to be.

We're running a Hybrid environment, any help appreciated.

Kind regards,

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,610 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
6,836 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,590 questions
{count} votes

2 answers

Sort by: Most helpful
  1. James Hamil 17,611 Reputation points Microsoft Employee

    Hi @HugoExceptOnFire , have you made sure all the proper modules are installed? Please let me know if this helps.


    0 comments No comments

  2. KyleXu-MSFT 26,061 Reputation points


    It means there doesn't exist such federation in your organization before. You could use the command below to check the existing federation in your organization:


    Could you tell us which certificate was renewed? Usually, we just need to rerun HCW to update configuration after renewing certificate.

    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