Running SQL 2012 SP1, 2 servers, 1 availability group. On Server B, where the replica state is secondary, if any user (including myself with sysadmin), right click on a local database, ie NOT IN THE AVAILABILITY GROUP, we get an error that states SSMS cannot show the requeted dialog box ... because database <not the database selected> is in an availability group, read only, etc.
I've check the SERVER STATE permissions (even though I'm sysadmin) and that's not the issue.
The error state is not consistent, but is frequent enough to reproduce more or less on demand, it comes and goes. my guess is this has to do with the interaction between SMO and the HADR specific management objects..