Forum Discussion

louiscilo's avatar
louiscilo
Copper Contributor
Sep 07, 2023

How to know if Exchange oAuth Metadata is refresh

Hi,

 

I have an environment with Exchange 2013 hybrid coexistence with Exchange 2019 now. oAuth is enabled.

 

I am suspecting the current environment, servers won't refresh the oAuth Metadata themselves. Is there any logs I can trace that? What event ID indicate the metadata is updated?

1 Reply

  • Kasta4's avatar
    Kasta4
    Brass Contributor

    Run the PowerShell command Get-OrganizationConfig | fl OAuth and check the NextCertificateUpdateTime field.
    Force a refresh directly:

    Set-OrganizationConfig -RefreshServerCertificates

Resources