Share via

Replication from on premise SQL 2019 to Azure SQL MI for reporting purposes

SCarter 21 Reputation points
2022-05-06T08:41:33.293+00:00

Hi all,

Can anyone point me in the direction of a guide on setting up standard transactional replication from an on premise SQL 2019 to a Azure SQL Managed Instance. I'm struggling to get this to work and I can't find any documentation on doing it this way around, all the guides seem to be from the MI to on premise and they aren't helping me get this working.

Connectivity between the two isn't an issue (I can connect to the MI from SSMS on the on premise server), I have also successfully managed to replicate from on premise to SQL 2019 installed on a VM in Azure.

Thanks in advance!

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

0 comments No comments

Answer accepted by question author

YufeiShao-msft 7,156 Reputation points
2022-05-06T09:27:11.527+00:00

Hi @

You can refer to this article:

Standard transactional replication from on-premise SQL to Azure SQL Managed Instance

-------------

If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. YufeiShao-msft 7,156 Reputation points
    2022-05-09T01:15:05.41+00:00

    Hi @SCarter

    This seems to be a permissions issue, the distribution agent process account does not have rights on the distribution, please verify this account is a member of the PAL, and in the db_owner role in the distribution database, has read permissions on the snapshot share.

    https://dba.stackexchange.com/questions/20395/all-pull-subscriptions-cannot-connect-to-distributor?msclkid=32ae2f72cf3211ec9fec8fdcebd16ab3

    -------------

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.