Forum Discussion
Question on migrating a Trusted Application
- Jan 11, 2024
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)
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)
Thanks again. Just one more question. Is it necessary after updating the AuthMetaDataUrl property to also run the Set-PartnerApplication -identity "Identity" -RefreshAuthMetadata
- LeonPavesicJan 15, 2024Silver 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)