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

HugoExceptOnFire 1 Reputation point
2022-02-15T16:58:31.713+00:00

Hi,
I am following this guide to re-create our Exchange Server Federation after the certificate expired: https://learn.microsoft.com/en-us/exchange/configure-a-federation-trust-exchange-2013-help

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,
Hugo.

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.
7,628 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.
2,099 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,746 questions
{count} votes

2 answers

Sort by: Most helpful
  1. James Hamil 24,661 Reputation points Microsoft Employee
    2022-02-15T22:07:41.847+00:00

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

    Best,
    James

    0 comments No comments

  2. KyleXu-MSFT 26,261 Reputation points
    2022-02-16T07:28:19.833+00:00

    @HugoExceptOnFire

    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:

    Get-FederationTrust  
    

    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.