Forum Discussion

MikeM1220's avatar
MikeM1220
Copper Contributor
Jan 09, 2024

Question on migrating a Trusted Application

Final stages of a SFB migration with an Exchange question. Moving the SFB/OWA IM integration from 2015 to 2019. I have the SFB side down but have a question on the Exchange side.

Besides the SettingsOverride command to update the Pool name, I need to update the Exchange Partner Application that got created with the "C:\Program Files\Microsoft\Exchange Server\V15\Scripts\Configure-EnterprisePartnerApplication.ps1 -AuthMetaDataUrl 'https://atl-cs-001.litwareinc.com/metadata/json/1' -ApplicationType Lync" we originally ran for the old Pool. The only thing that is changing is the Pool name.

 

Was wondering if I could just use the Set-PartnerApplication to change the value of the AuthMetadtaUrl property from https://oldpool.domain.com /metadata/json/1 to https://newpool.domain.com/metadata/json/1

 

This seems a lot easier than deleting the Partner Application and creating it again. I figure someone has to have done a migration of the TrustedApp for OWA/IM integration when upgrading Skype so just curious how you handled this part.

  • Hi MikeM1220,

    yes, you can use the Set-PartnerApplication cmdlet.
    It allows you to update the
    AuthMetadataUrl property of an Exchange Partner Application without the need to delete and recreate it. This command is useful for configuring partner application settings in on-premises Exchange organizations.

    Here is an example of how you can use it:

     

    Set-PartnerApplication -Identity "Identity of partner app" -AuthMetadataUrl "https://newpool.domain.com/metadata/json/1"

     

     

    This command updates the AuthMetadataUrl of the partner application identified by "Identity of partner app" to "https://newpool.domain.com/metadata/json/1".
    You need to replace "Identity of partner app" with the actual identity of your partner application and "https://newpool.domain.com/metadata/json/1" with the new pool's metadata URL.

    This approach simplifies the process compared to deleting and recreating the Partner Application.

    Set-PartnerApplication (ExchangePowerShell) | Microsoft Learn
    Configure trusted application servers - Skype for Business Server 2019 | Microsoft Learn


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)

  • LeonPavesic's avatar
    LeonPavesic
    Silver Contributor

    Hi MikeM1220,

    yes, you can use the Set-PartnerApplication cmdlet.
    It allows you to update the
    AuthMetadataUrl property of an Exchange Partner Application without the need to delete and recreate it. This command is useful for configuring partner application settings in on-premises Exchange organizations.

    Here is an example of how you can use it:

     

    Set-PartnerApplication -Identity "Identity of partner app" -AuthMetadataUrl "https://newpool.domain.com/metadata/json/1"

     

     

    This command updates the AuthMetadataUrl of the partner application identified by "Identity of partner app" to "https://newpool.domain.com/metadata/json/1".
    You need to replace "Identity of partner app" with the actual identity of your partner application and "https://newpool.domain.com/metadata/json/1" with the new pool's metadata URL.

    This approach simplifies the process compared to deleting and recreating the Partner Application.

    Set-PartnerApplication (ExchangePowerShell) | Microsoft Learn
    Configure trusted application servers - Skype for Business Server 2019 | Microsoft Learn


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)

    • MikeM1220's avatar
      MikeM1220
      Copper Contributor
      Thanks Leon. It seems logical that you can. This OWA/IM integration app is very sensitive to changes it seems and typically requires reboots on both Exchange and Skype whenever anything is changed. I wanted to minimize as many changes as I could.
    • MikeM1220's avatar
      MikeM1220
      Copper Contributor

      LeonPavesic 

      Thanks again. Just one more question. Is it necessary after updating the AuthMetaDataUrl property to also run the Set-PartnerApplication -identity "Identity" -RefreshAuthMetadata

      • LeonPavesic's avatar
        LeonPavesic
        Silver Contributor

        Hi MikeM1220,

        thanks for your update.

        It's recommenden (but not obligatory) to execute the Set-PartnerApplication -Identity "Identity" -RefreshAuthMetadata command after modifying the AuthMetadataUrl property.

        This command refreshes the metadata for the partner application, ensuring that the updates are accurately applied.



        Please click Mark as Best Response & Like if my post helped you to solve your issue.
        This will help others to find the correct solution easily. It also closes the item.


        If the post was useful in other ways, please consider giving it Like.


        Kindest regards,


        Leon Pavesic
        (LinkedIn)

Resources