@Sourav Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.
I understand that you want to create a copy/migrate/move the logic app or exporting the template which is test environment to production environment.
It is recommended After you migrate logic apps between subscriptions, resource groups, or regions, you must recreate or reauthorize any connections that require Open Authentication (OAuth).
Hope this helps! Feel free to reach back to me if you have any further questions on this.