AD test connection Issue in the Partner Tenant

You can achieve this through Update Source Partial API.

Here is the link to update the retry:

LMK if this works…

Thanks.