security login user mapping issue

Sam 1,476 Reputation points
2020-11-22T05:57:49.44+00:00

Hi All,

We have recently migrated SQL 2012 EE to SQL 2017. We are on Microsoft SQL Server 2017 (RTM-CU22) 14.0.3356.20 (X64) EE.
Using SSMS, I have logged into SQL 2017 instance as a sysadmin role member and when I go to a specific login -> right click --> Properties -> User Mapping , I see the below message.
Does anyone also faced this issue ? any way to fix this?
And by the way, there are no orphan users in any of the database. Question is why it is showing this message?
We used sp_help_revlogin to script out all logins from old server to new sql server.

41635-login-err.png41668-login-err.png

SSMS version is below :
Microsoft SQL Server Management Studio 14.0.17277.0
Microsoft Analysis Services Client Tools 14.0.1016.262
Microsoft Data Access Components (MDAC) 10.0.17763.1
Microsoft MSXML 3.0 6.0
Microsoft Internet Explorer 9.11.17763.0
Microsoft .NET Framework 4.0.30319.42000
Operating System 6.3.17763

Regards,
Sam

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,842 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dirk Hondong 871 Reputation points
    2020-11-22T15:11:49.023+00:00

    I'd say it is normal behaviour when the Secondary is not readable.
    Just like I mentioned in the comments before.

    2 people found this answer helpful.

4 additional answers

Sort by: Most helpful
  1. tibor_karaszi@hotmail.com 4,311 Reputation points
    2020-11-22T09:39:54.393+00:00

    Check if you have any databases which are offline or similar.

    1 person found this answer helpful.
    0 comments No comments

  2. CathyJi-MSFT 22,286 Reputation points Microsoft Vendor
    2020-11-23T02:52:39.45+00:00

    Hi @Sam ,

    Full agree with Dirk, Tibor and Erland. I also check this on my environment as below screenshot. SQL server 2019, SSMS 18.6.

    41679-screenshot-2020-11-23-104812.jpg

    41725-screenshot-2020-11-23-104946.jpg

    Best regards,
    Cathy


    If the response is helpful, please click "Accept Answer" and upvote it.

    1 person found this answer helpful.

  3. Sam 1,476 Reputation points
    2020-11-22T14:01:01.207+00:00

    Hi Tibor, Its an AG secondary replica. They all are in Syncronized state.


  4. Sam 1,476 Reputation points
    2020-11-23T05:53:54.27+00:00

    Thanks everyone for the help.

    0 comments No comments

Your answer

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