error Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/error/ Microsoft Dynamics CRM . Microsoft Power Platform Tue, 29 Sep 2020 19:35:41 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/cropped-Microsoftdynamics365-blogs.png?fit=32%2C32 error Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/error/ 32 32 176351444 Error from token exchange: Runtime call was blocked because connection has error status: Enabled| Error, and flow is in the block list. in Microsoft power atomate http://microsoftdynamics.in/2020/09/30/error-from-token-exchange-runtime-call-was-blocked-because-connection-has-error-status-enabled-error-and-flow-is-in-the-block-list-in-microsoft-power-atomate/ Tue, 29 Sep 2020 19:35:41 +0000 http://microsoftdynamics.in/?p=4215 Test connection failed. Details: Error from token exchange: Runtime call was blocked because connection has error status: Enabled| Error, and microsoftforms is in the block list. Connection errors: [ParameterName: token, Error: Code: Unauthorized, Message: 'Failed to refresh access token for service: aadcertificate. Correlation Id=956F3FD8-14DB-48B2-8A59-B9E732BB4905, UTC TimeStamp=9/9/2020 2:12:54 PM, Error: Failed to acquire token from AAD: {"error":"invalid_grant","error_description":"AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed. The user might have changed or reset their password. The grant was issued on '2020-05-21T13:20:41.4577451Z' and the TokensValidFrom date (before which tokens are not valid) for this user is '2020-08-24T18:29:02.0000000Z'. Trace ID: 93c8261e-a4e1-4d18-bac2-ce326c8a2d00 Correlation ID: e5643921-a39c-4216-b2ba-53fb5a80e988 Timestamp: 2020-09-09 14:12:54Z","error_codes":[50173],"timestamp":"2020-09-09 14:12:54Z","trace_id":"93c8261e-a4e1-4d18-bac2-ce326c8a2d00","correlation_id":"e5643921-a39c-4216-b2ba-53fb5a80e988","error_uri":"https://login.windows.net/error?code=50173"}']

The post Error from token exchange: Runtime call was blocked because connection has error status: Enabled| Error, and flow is in the block list. in Microsoft power atomate appeared first on Microsoft Dynamics 365 Blog.

]]>

The below error is encounter suddenly to our production and while debugging found the issue related to unathorization.

Error: Failed to acquire token from AAD: {"error":"invalid_grant","error_description":"AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed. The user might have changed or reset their password.

 Test connection failed. Details: Error from token exchange: Runtime call was blocked because connection has error status: Enabled| Error, and microsoftforms is in the block list. Connection errors: [ParameterName: token, Error: Code: Unauthorized, Message: 'Failed to refresh access token for service: aadcertificate. Correlation Id=956F3FD8-14DB-48B2-8A59-B9E732BB4905, UTC TimeStamp=9/9/2020 2:12:54 PM, Error: Failed to acquire token from AAD: {"error":"invalid_grant","error_description":"AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed. The user might have changed or reset their password. The grant was issued on '2020-05-21T13:20:41.4577451Z' and the TokensValidFrom date (before which tokens are not valid) for this user is '2020-08-24T18:29:02.0000000Z'. Trace ID: 93c8261e-a4e1-4d18-bac2-ce326c8a2d00 Correlation ID: e5643921-a39c-4216-b2ba-53fb5a80e988 Timestamp: 2020-09-09 14:12:54Z","error_codes":[50173],"timestamp":"2020-09-09 14:12:54Z","trace_id":"93c8261e-a4e1-4d18-bac2-ce326c8a2d00","correlation_id":"e5643921-a39c-4216-b2ba-53fb5a80e988","error_uri":"https://login.windows.net/error?code=50173"}']

We tried authenticating with the same user and it shows success but still getting above error, don’t know if this was some kind of bug but we tried several time and it was same.

Till the time we know, it was due to reset of password that happened last day. at the end we navigated to data -> connections. 

Which was asking to FIX CONNECTION for the user we were trying to authenticate. Click on FIX CONNECTION or Switch Account and it will fix it instantly

The post Error from token exchange: Runtime call was blocked because connection has error status: Enabled| Error, and flow is in the block list. in Microsoft power atomate appeared first on Microsoft Dynamics 365 Blog.

]]>
4215
Error: Resource not found for the segment ‘lookup’ , Set Lookup field in power Automate Flow http://microsoftdynamics.in/2020/08/23/error-resource-not-found-for-the-segment-lookup-set-lookup-field-in-power-automate-flow/ Sun, 23 Aug 2020 14:56:31 +0000 http://microsoftdynamics.in/?p=4108 Like in C# and Js Setting Lookup Value is different than setting String, It needs to information like entity type , name, and GUID.
Same way in power automate when setting up a lookup value or customer lookup we need to specify Entity and GUID or we can encounter error " Resource not found for the segment "

If we are getting below error most probably we are not setting Lookup field correctly 

Resource not found for the segment 'accoutid'

or

Empty segment encountered in request URL. Please make sure that a valid request URL is specified.

The post Error: Resource not found for the segment ‘lookup’ , Set Lookup field in power Automate Flow appeared first on Microsoft Dynamics 365 Blog.

]]>

Like in C# and Js Setting Lookup Value is different than setting String, It needs to information like entity type , name, and GUID.
Same way in power automate when setting up a lookup value or customer lookup we need to specify Entity and GUID or we can encounter error " Resource not found for the segment "

If we are getting below error most probably we are not setting Lookup field correctly

Resource not found for the segment ‘accoutid’

or

Empty segment encountered in request URL. Please make sure that a valid request URL is specified.

Below is the example , how to set Lookup field or customer field in Power automate flow

  1. if the field is a simple single lookup field, specify entity  name and GUID
    Example : contacts(GUID)
  2. If field is Customer lookup , Specify either account or contact
    Example : accounts(GUID) or contacts(GUID)

The post Error: Resource not found for the segment ‘lookup’ , Set Lookup field in power Automate Flow appeared first on Microsoft Dynamics 365 Blog.

]]>
4108
Error : getFormContext is not a function in UCI , Ribbon Button http://microsoftdynamics.in/2020/08/22/error-getformcontext-is-not-a-function-in-uci-ribbon-button/ Sat, 22 Aug 2020 13:26:24 +0000 http://microsoftdynamics.in/?p=4089 The post Error : getFormContext is not a function in UCI , Ribbon Button appeared first on Microsoft Dynamics 365 Blog.

]]>

When passing primaryControl in Ribbon WorkBench we use it as executionContext and then get FormContext out of it.

But when same thing is done on UCI we get the Error getFormContext is not a function

We got this error in UCI and not in Legacy WebClient,

  1. We were Passing CRM Parameter PrimaryControl to Button in Ribbon workbench

  2. In JS we were getting FormContext from primaryControl(Executioncontext) which was working fine in the Legacy app

    function readXML(primaryControl) {   
    var formContext  = null;
     if (primaryControl!== null) { 
                formContext = primaryControl.getFormContext(); 
             }
        }
    }
  3. But when same is called in UCI we get ” ” Script Error, Because here we need to treat primary control as formContext

So final change needed in Code is as below

function readXML(primaryControl) {   
var formContext  = null;
 if (primaryControl!== null) {
         if (typeof primaryControl.getAttribute === 'function') {
             formContext = primaryControl; //called from the ribbon.
         } else if (typeof primaryControl.getFormContext === 'function' 
                 && typeof(primaryControl.getFormContext()).getAttribute === 'function') {
            formContext = primaryControl.getFormContext(); // most likely called from the form via a handler
         }
    }
}

The post Error : getFormContext is not a function in UCI , Ribbon Button appeared first on Microsoft Dynamics 365 Blog.

]]>
4089
ERROR : Collection was modified; enumeration operation may not execute – While converting Entity Collection To List http://microsoftdynamics.in/2020/07/09/error-collection-was-modified-enumeration-operation-may-not-execute-while-converting-entity-collection-to-list/ Thu, 09 Jul 2020 17:28:29 +0000 http://microsoftdynamics.in/?p=3883 I recently Show 1 of my old note with this error which was pending for post, so thought of sharing it,

While converting EntityRefrence to List- Entity and then processing this List-Entity in For-each Loop got below error
Collection was modified; enumeration operation may not execute

Back then at 1st Glance it was not clear what was the error but debugging it pointed the issue,

Code with the Error:  Error is with ForEach Loop in dictionary object 

The post ERROR : Collection was modified; enumeration operation may not execute – While converting Entity Collection To List<Entity> appeared first on Microsoft Dynamics 365 Blog.

]]>

I recently Show 1 of my old note with this error which was pending for post, so thought of sharing it,

While converting EntityRefrence to List- Entity and then processing this List-Entity in For-each Loop got below error

Collection was modified; enumeration operation may not execute

Back then at 1st Glance it was not clear what was the error but debugging it pointed the issue,

  • Code with the Error:  Error is with ForEach Loop in dictionary object 
EntityCollection nonMandatoryProcessRule = FetchAllProcessRules(organizationService, serviceTypeGUID, categoryTypeGUID, departmentTypeGUID, CustomerTypeBOOL, false , 0);
          
            List<Entity> nonMandatoryProcessRuleLIST = new List<Entity>(nonMandatoryProcessRule.Entities);
          
            foreach (Entity processRuleRecordET in nonMandatoryProcessRuleLIST)
            {
                if (!ValidateProcessRuleConditions.ValidateProcessRuleCondition(processRuleRecordET, currentEntityET , organizationService))
                {
                    try
                    {
                        nonMandatoryProcessRuleLIST.Remove(processRuleRecordET);
                    }
                    catch (Exception ex)
                    {
                        throw new Exception("Error in removing " + processRuleRecordET+"  check  " + ex.Message);
                    }
                }
            }
  • Code after Resolving the Error

The post ERROR : Collection was modified; enumeration operation may not execute – While converting Entity Collection To List<Entity> appeared first on Microsoft Dynamics 365 Blog.

]]>
3883
Refresh SubGrid – Not Working – Issue while refreshing Sub grid using JavaScript -Refresh SubGrid from HTML webresource http://microsoftdynamics.in/2020/07/08/refresh-subgrid-not-working-issue-while-refreshing-sub-grid-using-javascript-refresh-subgrid-from-html-webresource/ Wed, 08 Jul 2020 16:05:34 +0000 http://microsoftdynamics.in/?p=3866 The post Refresh SubGrid – Not Working – Issue while refreshing Sub grid using JavaScript -Refresh SubGrid from HTML webresource appeared first on Microsoft Dynamics 365 Blog.

]]>

With Recent Requirement, we developed a Custom Multiple File uploader on an entity which uploads multiple files in Notes or Attachment (Unsupported for sure),

Once the upload is done we needed Notes Grid or Attachment subgrid to refresh, but as we were running js from HTML Resource, so we followed below code

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/07/img_5f05ec766f06a.png?fit=1497%2C746

There are 2 ways we can use it.

1. Using it from Html Resource where we want to use DOM. ( Unsupported not recommended)

parent.document.getElementById("attachmentsGrid").control.refresh();

2. Using Js from an Iframe, use Parent

parent.Xrm.Page.getControl("attachmentsGrid").refresh();

// Form Context (Recommended)

formContext.getControl(“attachmentsGrid”).refresh();

3. Using Js on the Record Itself

Xrm.Page.getControl("attachmentsGrid").refresh();

// Form Context (Recommended)

formContext.getControl("attachmentsGrid").refresh();
We Might be sometime not Seeing above code working, I would recommend debugging it, but the most common issue might be that Code is rendering Before Form is fully loaded.

We can use the below code, to the first check if the context is not null and if null is found return and try after 1 sec that is 1000ms.

Function test(executionContext)
{
//// Get FormContext
formContext = executionContext.getFormContext();
if(formContext  != null)
{
//// Get Grid Control
Var getSubgrid = formContext.getControl("attachmentsGrid");
////If Grid Control is empty , Return and timeout for 1 sec
if(getSubgrid  == null)
{
 setTimeout(function () { test(executionContext); }, 1000);
     return;
}
//// If control is not null refresh the grid
formContext.getControl("attachmentsGrid").refresh();
}

}

The post Refresh SubGrid – Not Working – Issue while refreshing Sub grid using JavaScript -Refresh SubGrid from HTML webresource appeared first on Microsoft Dynamics 365 Blog.

]]>
3866
Submit Feedback of https://github.com/MicrosoftDocs , how to submit a issue with page or product of Microsoft doc http://microsoftdynamics.in/2020/06/07/submit-feedback-of-https-github-com-microsoftdocs-how-to-submit-a-issue-with-page-or-product-of-microsoft-doc/ Sun, 07 Jun 2020 14:45:13 +0000 http://microsoftdynamics.in/?p=3532 The post Submit Feedback of https://github.com/MicrosoftDocs , how to submit a issue with page or product of Microsoft doc appeared first on Microsoft Dynamics 365 Blog.

]]>

Recently while helping a friend informs, encountered a bug or issue with the snippet code mentioned in Doc.microsoft.com, Incorrect syntax was identified

  • The requirement was to hide create a button on the business process flow on a certain condition and Microsoft document gives a function to use getNavigationBehavior()

Refer : https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-data-process/stage/getnavigationbehavior

  • but was getting Error : formContext.data.process.getActiveStage.getNavigationBehavior is not a function
  • After some debugging found the Document page code need some amendment

  • If this type of issue is identified on page , we have an option to submit feedback and raise It in https://github.com/MicrosoftDocs

The post Submit Feedback of https://github.com/MicrosoftDocs , how to submit a issue with page or product of Microsoft doc appeared first on Microsoft Dynamics 365 Blog.

]]>
3532
How to Disable Get CRM for Outlook Message in Microsoft dynamics CRM http://microsoftdynamics.in/2017/08/02/how-to-disable-get-crm-for-outlook-message-in-microsoft-dynamics-crm/ Wed, 02 Aug 2017 09:55:00 +0000 http://microsoftdynamics.in/2017/08/02/how-to-disable-get-crm-for-outlook-message-in-microsoft-dynamics-crm/ CRM regularly displays a Get CRM for Outlook message, regardless if the user has already downloaded and activated the Outlook client.Get CRM for Outlook message can be removed permanently by following below steps : 1. Naviagate to Settings, then to Administration, and then System Settings: 2. Set outlook client is advertised to users in the message bar...

The post How to Disable Get CRM for Outlook Message in Microsoft dynamics CRM appeared first on Microsoft Dynamics 365 Blog.

]]>
CRM regularly displays a Get CRM for Outlook message, regardless if the user has already downloaded and activated the Outlook client.
Get CRM for Outlook message can be removed permanently by following below steps :

1. Naviagate to Settings, then to Administration, and then System Settings:

2. Set outlook client is advertised to users in the message bar = No

All done , now Get CRM for outlook message will not appear again.

Hope this was helpful.

Like us on facebook : https://www.facebook.com/microsoftdynamicsindia/

The post How to Disable Get CRM for Outlook Message in Microsoft dynamics CRM appeared first on Microsoft Dynamics 365 Blog.

]]>
2776
Minimum permissions required for installing Microsoft dynamics CRM 2015 , 2016 http://microsoftdynamics.in/2017/08/01/minimum-permissions-required-for-installing-microsoft-dynamics-crm-2015-2016/ Tue, 01 Aug 2017 06:00:00 +0000 http://microsoftdynamics.in/2017/08/01/minimum-permissions-required-for-installing-microsoft-dynamics-crm-2015-2016/ installing Microsoft Dynamics CRM 2015 , 2016 , Minimum permissions required for installing Microsoft dynamics CRM 2015 , 2016

The post Minimum permissions required for installing Microsoft dynamics CRM 2015 , 2016 appeared first on Microsoft Dynamics 365 Blog.

]]>

Minimum permissions required for installing Microsoft dynamics CRM 2015 , 2016

As some of the organization System admin team don’t give permission easily as per there security policies and we need to provide them a doc mentioning minimum permission required for installing Microsoft dynamics CRM,

Below info assumes the all Server roles are installed on the same server .

There are two option we can follow for installing Microsoft dynamics CRM

  1. If System admin team refuse request to give Read , write permission on Organization Unit (OU) : Pre-create Active directory security group and use those while installing Microsoft dynamics CRM
  2. Setup program creates the Active Directory security groups when you install Microsoft Dynamics CRM

1. Setup program creates the Active Directory security groups when you install Microsoft Dynamics CRM.

 

  • Add the user account of the user who is installing Microsoft Dynamics CRM as a member of the local administrator group. To do this, follow these steps on the Microsoft Dynamics CRM server and on the computer that is running Microsoft SQL Server:
    1. Log on to the server as a user who has local administrator permissions.
    2. Click Start, point to Administrative Tools, and then click Computer Management.
    3. Expand System Tools.
    4. Expand Local Users and Groups.
    5. Click Groups.
    6. Right-click Administrators, and then click Properties.
    7. To add the account of the user who is installing Microsoft Dynamics CRM, click Add.
  • If SQL Server Reporting Services (SSRS) is installed on a server other than the server on which you added permissions in step 1, you must add the Content Manager role at the root level for the installing user account. And, you must add the System Administrator role at the site-wide level for the installing user account. To do this, follow these steps on the Reporting Services server:
    1. Start Windows Internet Explorer, and then locate the following site:
      http://srsserver/reports
    2. On the Properties tab, click New Role Assignment.
    3. In the Group or user name box, type the user name of the user who is installing Microsoft Dynamics CRM, click to select the Content Manager check box, and then click OK.Note Use the following format when you type the user name:
      domainnameusername
    4. Click Site Settings.
    5. Under Security, click Configure site-wide security, and then click New Role Assignment.
    6. In the Group or user name text box, type the user name of the user who is installing Microsoft Dynamics CRM, click to select the System Administrator check box, and then click OK.Note Use the following format when you type the user name:
      domainnameusername
  • For the user account of the user who is installing Microsoft Dynamics CRM, add the following permissions to the organizational unit (OU) in the Active Directory directory service. You must do this step for the OU to which you select to install during the installation of Microsoft Dynamics CRM 4.0.Permissions
    • Read
    • Create All Child Objects

    Advanced permissions

    • Read Permissions
    • Modify Permissions
    • Read Members
    • Write Members

    To add the permissions, follow these steps:

    1. Log on to the domain controller server as a user who has domain administrator permissions.
    2. Click Start, click Administrative Tools, and then click Active Directory Users and Computers.
    3. On the View menu, click Advanced Features.
    4. In the navigation pane, find the OU that you want to use for the Microsoft Dynamics CRM installation. To do this, expand the tree to the node that contains the security group.
    5. Right-click the security group, click Properties, and then click the Security tab.
    6. In the Group or user names list, click the user account of the user who is installing Microsoft Dynamics CRM if the account is listed. If the account is not listed, click Add to add the user account.
    7. In the Allow column, click to select the check box for the Create All Child Objectspermission.Note By default, the Allow check box is selected for the Read permission.
    8. Click Advanced.
    9. In the Permission entries list, click Add, select the user account of the user who is installing Microsoft Dynamics CRM, and then click OK.
    10. In the Apply onto list, click Group objects.
    11. In the Allow column, click to select the following check boxes:
      • Read Permissions
      • Modify Permissions
    12. Click the Properties tab.
    13. In the Apply onto list, click Group objects.
    14. In the Allow column, click to select the following check boxes:
      • Read Members
      • Write Members
    15. Click OK three times.
  • Install Microsoft Dynamics CRM.

 

2.Pre-create Active directory security group and use those while installing Microsoft dynamics CRM

  1. Create the following security groups in Active Directory:
    • PrivUserGroup
    • PrivReportingGroup
    • ReportingGroup
    • SQLAccessGroup
    • UserGroup

    To create the security groups in Active Directory, follow these steps:

    1. Log on to the domain controller server as a user who has domain administrator permissions.
    2. Click Start, click Administrative Tools, and then click Active Directory Users and Computers.
    3. Expand the “Active Directory Users and Computers” tree to the root of the domain or to the specific organizational unit (OU) that you want to use to install Microsoft Dynamics CRM.
    4. Right-click the domain root or the OU that you want to use, click New, and then click Group.
    5. In the Group Name field, type the name of the group. For example, type PrivUserGroup.
    6. If the domain functional level is Windows Server 2003 or Microsoft Windows 2000 native, click Domain local in the Group scope list. If the domain functional level is Windows 2000 mixed, click Global in the Group scope list.
    7. Click OK.
    8. Repeat steps 1d through 1g earlier in this section to create each security group.
  2. Add the user account of the user who is installing Microsoft Dynamics CRM as a member of the Local Administrator group. You must complete this step on the computer that is running the Microsoft Dynamics CRM server and on the computer that is running SQL Server.
    1. Log on to the server as a user who has local administrator permissions.
    2. Click Start, click Administrative Tools, and then click Computer Management.
    3. Expand System Tools, expand Local Users and Groups, and then expand Groups.
    4. Right-click Administrators, and then click Properties.
    5. To add the user account of the user who is installing Microsoft Dynamics CRM, click Add, and then click OK.
  3. If SQL Server Reporting Services (SSRS) is installed on a server other than the server on which you added permissions in step 1, add the Content Manager role at the root level for the installing user account. Then, add the System Administrator Role at site-wide level for the installing user account. To do this, follow these steps on the server that is running Reporting Services:
    1. Start Internet Explorer, and then locate the following site:
      http://srsserver/reports
    2. Click the Properties tab, and then click New Role Assignment.
    3. In the Group or user name box, type the name of the user who is installing Microsoft Dynamics CRM, click to select the Content Manager check box, and then click OK.Note Use the following format when you type the user name:
      domainnameusername
    4. Click Site Settings.
    5. Under Security, click Configure site-wide security, and then click New Role Assignment.
    6. In the Group or user name box, type the name of the user who is installing Microsoft Dynamics CRM, click to select the System Administrator check box, and then click OK.Note Use the following format when you type the user name:
      domainnameusername
  4. If you want Microsoft Dynamics CRM to manage the Microsoft Dynamics CRM security groups that are created during the installation, add the following permissions to the security groups that you created in step 1 earlier in this section:Permissions
    • Read
    • Write
    • Add/Remove self as member

    Advanced permissions

    • List Contents
    • Read All Properties
    • Write All Properties
    • Read Permissions
    • Modify Permissions
    • All Validated Writes
    • Add/Remove self as member

    To add the permissions, follow these steps for each security group that you created in step 1 earlier in this section:

    1. Log on to the domain controller server as a user who has domain administrator permissions.
    2. Click Start, click Administrative Tools, and then click Active Directory Users and Computers.
    3. On the View menu, click Advanced Features.
    4. In the navigation pane, expand the tree to the security group, right-click the security group, click Properties, and then click the Security tab.
    5. In the Group or user names list, click the user account of the user who is installing Microsoft Dynamics CRM if the account is listed. If the account is not listed, click Add to add the user account.
    6. In the Allow column, click to select the check box for the Write permission. This action causes the system to automatically select the check box for the Add/Remove self as member permission.Note By default, the Allow check box is selected for the Read permission.
    7. Click Advanced.
    8. In the Permission entries list, click the user account of the user who is installing Microsoft Dynamics CRM, and then click Edit.
    9. Click to select the Modify Permissions check box in the Allow column.
    10. Click OK three times.

    Notes

    • By default, the following permissions are set to Allow:
      • List Contents
      • Read All Properties
      • Write All Properties
      • Read Permissions
      • All Validated Writes
      • Add/Remove self as member
    • If you will turn off Auto Group Management for the installation, you do not have to complete step 4.
    • For more information about Auto Group Management, see the “Auto Group Management options” section.
  5. When you first log on to Microsoft Dynamics CRM, and every time that a user is added to Microsoft Dynamics CRM, you must complete the following actions:
    • To log on, use a user account that has the necessary rights.
    • Manually add the users and the computers to the appropriate security groups.
  6. To use the pre-created Active Directory security groups, create a configuration file to point to Microsoft Dynamics CRM. To do this, create an XML configuration file that uses the syntax that is in the following example. Modify the variables as appropriate. The list that follows the sample code describes how to modify the variables that are in this example.In the following sample code, the XML file is named Config_precreate.xml. The domain name is microsoft.com. These names represent the actual names that you use. The Active Directory hierarchy is as follows:
    • root domain
      • Company Name OU
        • Company Name OU

    Sample code


    <CRMSetup>
       <Server>
            <Groups AutoGroupManagementOff="true">
                <PrivUserGroup>CN=PrivUserGroup,OU=Company Name,OU=Company Name,DC=<domain>,DC=<domain_extension></PrivUserGroup>
              <SQLAccessGroup>CN=SQLAccessGroup,OU=Company Name,OU=Company Name, DC=<domain>,DC=<domain_extension></SQLAccessGroup>
                <UserGroup>CN=UserGroup,OU=Company Name,OU=Company Name,DC=<domain>,DC=<domain_extension></UserGroup>
                <ReportingGroup>CN=ReportingGroup,OU=Company Name,OU=Company Name, DC=<domain>,DC=<domain_extension></ReportingGroup>
     <PrivReportingGroup>CN=PrivReportingGroup,OU=Company Name,OU=Company Name, DC=<domain>,DC=<domain_extension></PrivReportingGroup>
      </Groups>
        </Server>
    </CRMSetup>
    

    Modify the parameters in the example by using the following replacement values:

    • PrivUserGroup: The name of the PrivUserGroup security group
    • SQLAccessGroup: The name of the SQLAccessGroup security group
    • UserGroup: The name of the UserGroup security group
    • ReportingGroup: The name of the ReportingGroup security group
    • PrivReportingGroup: The name of the ReportingGroup security group
    • domain: The domain name
    • domain_extension: The domain extension

    Note For more information about all the configuration file parameters and samples, see the implementation guide.

  7. Run the Microsoft Dynamics CRM server installation. To do this, click Start, click Run, type C:ServerSetup.exe /config C:configprecreate.xml in the Open box, and then click OK.Notes
    • “C:ServerSetup.exe” refers to the path of the ServerSetup.exe file on the installation medium.
    • “C:configprecreate.xml” refers to the name and the path of the configuration file that was created.
Now need to set AutoGroupManagementOff = “False”  
 
For More info please refer :  KB article 946677 

 

The post Minimum permissions required for installing Microsoft dynamics CRM 2015 , 2016 appeared first on Microsoft Dynamics 365 Blog.

]]>
2779
ERROR 401 Unauthorized Access is Denied in mscrm Claims Based Authentication http://microsoftdynamics.in/2017/07/30/error-401-unauthorized-access-is-denied-in-mscrm-claims-based-authentication/ Sat, 29 Jul 2017 20:50:00 +0000 http://microsoftdynamics.in/2017/07/30/error-401-unauthorized-access-is-denied-in-mscrm-claims-based-authentication/ Last Sunday my client was unable to login to the CRM and was showing below error : HTTP Error 401 – Unauthorized Access is denied. I checked and found this error is of claims based authentication or IFD.  It was working fine from past 90 days but i just followed the below Microsoft article and error...

The post ERROR 401 Unauthorized Access is Denied in mscrm Claims Based Authentication appeared first on Microsoft Dynamics 365 Blog.

]]>
Last Sunday my client was unable to login to the CRM and was showing below error :

HTTP Error 401 – Unauthorized Access is denied.


I checked and found this error is of claims based authentication or IFD. 

It was working fine from past 90 days but i just followed the below Microsoft article and error was resolved.

Cause mentioned  :  
The Token-signing certificate and Token-Decrypting certificate in ADFS will automatically be renewed by the Auto Certificate Rollover feature because these certificates reach their expiration date.

Microsoft KB Article : Click Here 

The post ERROR 401 Unauthorized Access is Denied in mscrm Claims Based Authentication appeared first on Microsoft Dynamics 365 Blog.

]]>
2781
ERROR The Microsoft Exchange MAPI subsystem is not installed on this system http://microsoftdynamics.in/2017/07/30/error-the-microsoft-exchange-mapi-subsystem-is-not-installed-on-this-system/ Sat, 29 Jul 2017 20:24:00 +0000 http://microsoftdynamics.in/2017/07/30/error-the-microsoft-exchange-mapi-subsystem-is-not-installed-on-this-system/ I came across below issue while installing Microsoft Dynamics CRM E-mail Router. Error :The Microsoft Exchange MAPI subsystem is not installed on this system. follow the instruction in Microsoft Article : Click Here .and retry installation.Hope this help.

The post ERROR The Microsoft Exchange MAPI subsystem is not installed on this system appeared first on Microsoft Dynamics 365 Blog.

]]>
I came across below issue while installing Microsoft Dynamics CRM E-mail Router.

Error :The Microsoft Exchange MAPI subsystem is not installed on this system.

follow the instruction in Microsoft Article : Click Here .and retry installation.
Hope this help.

The post ERROR The Microsoft Exchange MAPI subsystem is not installed on this system appeared first on Microsoft Dynamics 365 Blog.

]]>
2782