I have set up Alwayson on a database db1, Server1 is Primary, Server2 is secondary. Now I am trying to add a user to both Primary and secondary servers. But when I add the user to the secondary server, getting below error:
The target database, db1 is participating in an availability group and is currently not accessible for queries. Either data movement is suspended or the availability group is not enabled for read access.
The availability mode is in synchronous mode and secondary is not readable. So how do we add new users who needs access to the database db1 which is configured with ALwayson. Any ideas?
Thanks.
sqldev