Featured Post

Dynamics 365 - Business Process Flow and Things to take note before you upgrade into Dynamics 365.

In 2 months ago, my company decided to upgrade the Dynamics CRM 2016 into Dynamics 365 and there is something different about Dynamics 365 B...

Showing posts with label Dynamics 365 Configuration. Show all posts
Showing posts with label Dynamics 365 Configuration. Show all posts

Thursday, December 7, 2017

Dynamics 365 : Hit Object address not found on party or party is marked as non-emailable

Recently in my own CRM environment, i hit 1 error when trying to send an email to customer.


DEMO

1. When a case created, i would like to send an email to customer but in the end i got this error.


2. Based on the provided log, i went for a check. unfortunately, the email is allow for this customer.


3. Thus, i went to user 's record (Sender) and i found that the email value is not exist.



Solution

1. Provide valid email to sender and receiver.

2. Make sure the email is marked as allow in receiver's record.

3. Once everything is provided correctly like pictures below. You should able to send an email successfully.

Sender

Receiver


Final Result

I hope this will save you some time and understand the reason behind it. Happy 365-ing.

Wednesday, November 15, 2017

Dynamics 365 - Session Time Out

I've been asked by some of my clients in few years ago, why CRM doesn't have the ability to configure the session time out . I have no idea how to answer them, but with the latest version of Dynamics 365, you are now able to have session timeout feature.

Why now ?


  • Because in previous version of Dynamics 365, the session timeout for a user is configured to 24 hours. Technically, does not meet the expectations for company which has strict policies.
  • To have better security.


Where is session timeout setting?


  • Setting > Administration > System Settings > General Tab







Tuesday, November 14, 2017

Dynamics 365 - MultiSelect Option Set

Finally, one of the most asked for feature is released : "Multi Select Option Set", a new attribute type in Dynamics 365 V9.0.

Where is it ? 

1. Under the data type, you can see a new option called "MultiSelect Option Set",


How does it looks like in Form?




Auto-Complete feature is available, you can use text to search for the value you want.



How does it looks like after selected the value(s).


How does it looks like in Advanced Find ?

In View


Something you need know


  •  Auto-Complete is available. 
  •  Multi Select Option Set can hold up max to 150 values.
  •  Can be used in Advanced Find and Fetch Xml Queries .
  •  Select All and Clear selection feature.

  •  Can leverage existing global option set.



How do we import using Excel Sheet?

  • enter the values as semicolon separated.




Now let's import into CRM.


I hope this will help you to understand about Multi Select Option Set and Happy CRM-ing.

Monday, November 13, 2017

Dynamics 365 - Unable to find Active Directory object for SID?

Few months ago, my company decided to change the domain .

We've built a Console application to do the necessary changes. Unfortunately, we hit 1 error while trying to change the domain. The system throw us an error " Unable to find Active Directory object for SID".


Root Caused

- Duplicate replication of the same user in more than one domain controllers.

- This problem creates an object in foreign security principals container with a prefix as 'CNF' for the object guid.

Solution

- using the user SID and find the duplicate object in foreign security principals container and delete it.



I hope this will save you some time and Happy CRM-ing.

Monday, November 6, 2017

Dynamics 365 - Add Existing button

Today, i am going show you some behaviors regarding to "Add Existing" button.

Have you ever wonder, when we are creating the child record from parent form, sometime it will show the lookup section in a sub-grid or Add Existing button in a Associated View but sometime it is not?

Pictures of Add Existing is available.


Picture of Add Existing is not available.




Reason

1. This behavior actually related to one of the setting in child entity.

2. Let's take  a look on the below pictures. can you find any differences between 2 pictures?






3. The answer is "Account" field in child entity !!! Mandatory and Non-Mandatory.

Conclusion

  1. If you set the parent lookup field in child entity as Business Required, the system will takes you straight to the create form  if you click on + in sub grid and the "Add Existing" button will not available in associate view.
  2. If you set the parent lookup field in child entity as Optional, you will see the lookup section when you click on + in sub-grid and the "Add Existing" button will available in associate view.
  3. How about if we set as Business Recommended ?
  • the behavior will be same as Optional.
I hope this will help you to understand the reason behinds the Add Existing behaviour and Happy CRM-ing.

Saturday, November 4, 2017

Dynamics 365 - Auto Save

From Dynamics CRM 2013 , Microsoft had introduced a new feature called "Auto Save".


Things you should know

  1. Auto Save is triggered after thirty seconds when change is made.
  2. The newly changes will be retrieved and displayed in form when auto-save occurs if someone else has updated the same record while you are editing the record.
  3. If you are editing the field or left the cursor inside the field, the particular field isn’t included in an auto-save.
  4. Auto Save setting is for organization level, meaning once it is turn off, every updated entities are not going to have this feature and vice versa.
  5. Auto Save will create a new entry in audit log if you enabled the auditing.
  6. When you navigate to other form, Auto Save is trigger immediately.
  7. Auto Save will not refresh the whole form.
  8. By default, the Auto Save is turn on.
  9. Auto Save feature only available for Updated Entities.
  10. Once Auto save feature is turn on, the save button is no longer available in Ribbon, you can click on the right bottom button or using the keyboard shortcut (Ctrl + S).


Although Auto Save feature is very convenient , but it will cause problem also. So Please discuss with management before going to enable this feature.

- field(s) that going to trigger the workflow or plugin.


How to Disable or Enable Auto Save for Organization Level


Go to Setting > Administration > System Setting > General Tab




Once the auto save is turn off, the save button is available in ribbon.




How to disable Auto Save for Form Level

1. Create a Web Resources as JavaScript

2. Paste the below JavaScript into content.

function preventAutoSave(econtext) {
    var eventArgs = econtext.getEventArgs();
    if (eventArgs.getSaveMode() == 70 || eventArgs.getSaveMode() == 2) {
        eventArgs.preventDefault();
    }
}

3. Attach the JavaScript under Form Library


4. Select On Save Event and Create as below.




5.  Save it and Publish it.

Result

 - Let's turn on the Auto Save feature, and edit the field on the Entity you put the JavaScript.

Now I am editing the field on 10.21 PM .


On 10.23 Pm the form is not save.



Additional

- You can get more information about Save Mode in here .



I hope this will help you to understand the Auto Save feature and Happy CRM-ing.

Tuesday, October 31, 2017

Dynamics 365 - Disable Export To Excel

Today , I am going to show you  how to disable the export the excel and report

DEMO


 1. Originally , user still can see the Export To Excel Option



2. Go To Setting > Security > Security role > Select a security role > under Business Management Tab remove the option highlighted below




3. Refresh the form, the option will not available anymore.





This is working with Report too.

 I hope this will help you to save some time and Happy CRM-ing.

Monday, October 30, 2017

Dynamics 365 - How to turn off the disturbing error message

Have you experience an error pop up and without any useful details provided when you open up the Dynamics 365 ?



After many times of debug, you've found out it is nothing to do with your customization and configuration.

Can we turn off this disturbing error message?

- Yes, we are able to do that.


Solution

Kindly proceed to your personal option > Under Privacy Tab > Click on "Never send an error report to Microsoft about Microsoft Dynamics 365".



I hope this will help you to save some time and get away from disturbing error message and Happy CRM-ing.