Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

QA Restore not allowing user to login in DEV Env

$
0
0

I have multiple Org in my DEV environment and everything working fine but only QA env which I restore in DEV I am facing below error message

Exception: Message: The user for which we are checking a privilege should be in the same org as the context provided, ErrorCode: -2147220989

I have already come to know the issue but I am not sure how to resolve it.

When I try to login into CRM. CRM internally call "p_GetCrmUserId" SQL SP and it return CRMUserId. its working for me in other Org in same envi (same web server). but only this Org its not returning result.

Above SP accept two argument 1) orgId 2) AuthInfo.

While accessing orgId web server passing correct but AuthInfo it derive from ADUtility and pass it to SP and AuthInfo will same for one user across ORG. but for my case particular ORG I am not sure, CRM Server pass wrong AuthInfo to DB.

With that AuthInfo there is no single record exist in MSCRM_CONFIG DB.

I am not sure but some where outside I need to correct this configuration for each org user.

Please guide me if you come across above issue.


Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>