Got error "Connection [*] is invalid or you do not have access to it" while publish a package with activity "use Outlook 365"

@252405231, Since you are publishing the package to PROD from DEV, which are two different tenants under the same organization, you need to reconfigure the integration service settings for PROD. Once reconfigured, it should work.

Mark as solution if you find it helpful.

Thanks.