Theme images are not visible in Dynamics 365 CRM V9.X

Recently got an issue that, users not able to view the latest Published Theme Image in their logins in Dynamics 365 CRM V9.X On-premises environment.

Continue reading

Security page not opening in Dynamics 365 CRM V9.X On-premises using Google Chrome

Recently observed that in Chrome browser, On click of the Security link under Settings -> Administration, showing loading symbol all the times and the page was not opening as illustrated below,

It is working fine in IE browser and problem is with only Google Chrome.

To give a try, updated the Chrome to the latest version and cleared the cache and relaunched it.

It worked like charm, Security page opened without any issue.

Error while activating Data Encryption key in Dynamics 365 CRM V9.X On-premises

Got the below issue while activating the Data Encryption Key in Dynamics 365 CRM On-premises.

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Please select an account that is a member of the PrivUserGroup security group and try again.

I have the Admin access on the Dynamics 365 CRM application, but was not part of the PrivUserGroup.

So, in the Active Directory, added my account under PrivUserGroup and it resolved the issue.

Microsoft Dynamics 365 certifications for Functional Consultants

Below are the BETA exams released for Dynamics 365 CRM Functional Consultants.

Click on each link and have a look at them.

MB 200: Microsoft Dynamics 365 Customer Engagement Core

MB 210: Microsoft Dynamics 365 for Sales

MB 220: Microsoft Dynamics 365 for Marketing

MB 230: Microsoft Dynamics 365 for Customer Service

MB 240: Microsoft Dynamics 365 for Field Service

How to assign System Administrator role for a user in CRM using SQL?

Recently in Dynamics 365 On-premise Dev environment, accidentally System Admin user’s Business Unit changed and hence all the security roles lost along with System Administrator role.

In that Dev environment, we don’t have any other user with System Administrator security role.

So, followed the below steps and assigned the System Administrator role to the CRM System Admin user using SQL queries.

Note: Take the backup of CRM DB before following the below steps.

Step 1: Logged in SQL with CRM System Admin role and executed the below query and got the Default business unit GUID from the BusinessUnit Table.

SELECT
BUSINESSUNITID,
NAME,*
FROM
BUSINESSUNIT
WHERE
PARENTBUSINESSUNITID IS NULL


Step 2: Executed the below query and got the CRM System Admin User GUID from the SystemUser table.

SELECT
FULLNAME,
SYSTEMUSERID,
BUSINESSUNITID,
BUSINESSUNITIDNAME,*
FROM
FILTEREDSYSTEMUSER
WHERE
FULLNAME LIKE ‘%CRM ADMIN%’ — CRM ADMIN is the name of my System Admin’s Full name in the CRM dev organization.

Step 3: Updated the default business unit GUID for the System Admin user by using the below SQL Query.

UPDATE
FILTEREDSYSTEMUSER
SET
BUSINESSUNITID = ‘6C9A857D-D43B-E411-93F9-000D3A800C9F’ — Refer Step 1.
WHERE SYSTEMUSERID=’F2368783-D43B-E411-93F9-000D3A800C9F’ — Refer Step 2.

Step 4: Executed the below query and got the below System Administrator Security role from Role Table.

SELECT
ROLEID,
NAME,
BUSINESSUNITID,*
FROM
ROLE
WHERE
NAME = ‘SYSTEM ADMINISTRATOR’ AND
CREATEDBY IS NULL

Step 5: Inserted the record in SystemUserRoles Table.

INSERT
INTO
SYSTEMUSERROLES (SYSTEMUSERID, ROLEID)
VALUES
(‘547258C8-3265-E911-A816-000D3A81C32B’,’1E4B4AB7-C956-E411-93F7-000D3A800169′)
–First Parameter is SYSTEMUSERID. Refer Step 2
–Second parameter is ROLEID. Refer Step 4

Step 6: Reset IIS. Logged in CRM with System Admin User and it worked.

Hope this article helped you and share your valuable feedback on this article.