Showing posts with label Microsoft Dynamics CRM. Show all posts
Showing posts with label Microsoft Dynamics CRM. Show all posts

Tuesday, August 26, 2025

Cancelled Appointments not synced in Outlook ?

 Introduction:


In this blog, we will see how to sync Cancelled Appointments in Outlook.


Implementation Steps:


  • 1. Navigate to https://make.powerapps.com

  • 2. Select Correct Environments

  • 3. Select Gear Icon on the top and Click Advance Settings

  • 4. Select Solutions and Import the attached Solution (OrganizationSettingsEditor_Managed.zip)

  • 5. Once the Solution is Imported then Select Publish all customizations

  • 6. Now search with "OrganizationSettingsEditor" and Open the Solution

  • 7. Search for "SSSPropagateAppointmentCancellationsToExchange"



  • Click On EDIT




  • Set the textbox to true (small case)

  • Click Update

    1. It will Prompt "Proceed with pushing a change into CRM?" Click OK

Conclusion:

That's it now Create an appointment and cancel it and it will get synced to Outlook.


    Wednesday, August 6, 2025

    How to View Flow Run History in Power Automate?

     Introduction:


    In this blog, we will see how to View Flow Run History in Power Automate.

    Implementation Steps:

    1.  Navigate to https://admin.powerplatform.microsoft.com

    2. Click Manage

    3. Select Environments


    4. Open the Environment where you want to change Run History of Power Automate

    5. In my case it is Trail Environment


    6.  Open the Environment

    7. Click Settings and select features


    8. Look for "Cloud flow run history in Dataverse"



    9.  Update the History 
      1. Enabled - 28 days retention (default)
      2. Enabled - 14 days retention
      3. Enabled - 7 days retention
      4. Disabled

    10. You can select the option how many days you want to be retained

    11. Update the drop down and Select Save

    Conclusion:

    Based on above steps we can update the retention for Cloud flow run history in Dataverse.

    Saturday, June 21, 2025

    Dataverse/MSCRM: Work with Masking Rule

     Introduction:


    In this blog, we will see how to work with Masking Rule in MSCRM or Dataverse.

    Issue : I don't want to show the Email values in Contact table. For example if i have email as ram@contosso.com i need to only show ram* (here * denotes masking).

    Steps to Achieve:

    1. Navigate to https://make.poweapps.com

    2. Choose your respective Environment

    3. Go to your solution and open the solution

    4. Now if you click on New you will see 2 Options

      1. Attribute Masking Rule - You can mask the attribute based on SECURED MASKING RULE

      2. Secured Masking Rule - RULE TO BE DEFINED



    5. Now first Click on SECURED MASKING RULE

    6. Once you clicked it will prompt a page

      1.  You need to define your rule like below



        Name : Input your valid name with _
        Display Name : Input your display Name
        Description : Explain about your Rule
        Regular Expression : You can input your expression, for me i need to hide my domain so i used (?<=@).*$
        Masked Character : How you want to show your Masked Character
        Enter Plain Text : For testing you can input your Name
        Masked Plain Text : You can see your demo Value

    7.  Once done click Save

    8. Now Create an Attribute Masking

    9. Before Creating Attribute Masking you need to make sure your Column Security is Enabled




    10.  You can Use Attribute Masking in 2 Places ( you can directly Select here) or You can click on New and create like below


     Now save this and test it



    Conclusion:

    Following above steps we can achieve Masking for an Attribute.

    Tuesday, June 17, 2025

    Bulk Delete Operation in Dataverse/MSCRM

     Introduction:


    In this blog we will see how to Bulk Delete Operation in Dataverse/MSCRM

    Steps:

    1.  Navigate to https://make.powerapps.com

    2. Click Apps

    3. Open your Model Driven Apps

    4. Now Click on Settings icon at the TOP right Corner of screen

    5. Select Advance Settings



    6. Once the Page Gets Loaded Select Data Management and Select Bulk Record deletion



    7.  Click New JOB

    8.  Select the Table and If you have any Particular Views select the view (or) Add filter Criteria for the condition and Click Preview Records to Verify the same

    9.  Once Verified Click Save and open the Operation to view the status of the Record



    ​​​​​​​
    That's it :)


    Conclusion:

    Based on the above steps you can easily delete the multiple Records using Out-of-the-box behaviour

    Friday, June 13, 2025

    How to Send Email on Behalf of Another User - MSCRM / Power Platform

     Introduction:


    In this blog, we will see how to send email on Behalf of Another User in Microsoft Dynamics CRM / Power Platform?

    Error i faced in Power Automate Flow:



    This issue occurs when i tried to send email on behalf of another User

    How to Fix?

    1. Navigate to https://make.powerapps.com  or your CRM or your PowerApps Environment.

    2. Click Gear Icon at the Top and select Advance Settings

    3. Search for Security and Select Security



    4. Once the page Look for Security Roles  and search for your Security role to provide Permissions

    5. In my case it is Approval User

    6. Look for Approval User then Click Miscellaneous privileges then Click Show all privileges and search for EMAIL

    7. Now you will Find Send Email as Another User like below



    8. Change None to Organization



    9. Now Click Save 


    That's it.

    Conclusion:

    By providing this access, User who is having this security role can send email on behalf of another user.

    Wednesday, June 11, 2025

    Use @mention to collaborate with your team using Notes in Model-driven app/MSCRM

     Introduction:


    In this blog, we will see how to Use @mention to collaborate with your team using Notes in Model-driven app/ Microsoft Dynamics CRM.


    2. Click Environments at the left side




    3. Choose your Respective Environment to enable @mention in my Case am choosing Trial Environment



    4. Open the Environment and Click Settings at the Top of the Banner





    5. On the Settings Opened, Look for Products ,  Select Collaboration



    6. Look for @mention like below screenshot and Enable it and make sure you will enable In-app notifications too



    7. Now Click Save

    8. Navigate to your CRM System

    9. Open any Accounts or the Table where we have Rich Text editor Available

    10. Click on Notes and in the Rich Text editor you will see the Users available in the system will get populated.

    Conclusion:

    Following above steps we can enable mention in MSCMR or Model Driven apps.

    Wednesday, May 21, 2025

    "Invalid operation performed" on Merging Account/Contact Record in MSCRM/Dataverse

    Introduction:

            In this blog, we will explore how to resolve the Account/Contact merge issue in Microsoft Dynamics CRM / Dataverse. We will identify the possible causes behind the error "Invalid operation performed", analyze the troubleshooting steps, and provide solutions to successfully merge records without issues.

    Steps to Resolve the Account/Contact Merge Issue in CRM/Dataverse:

    1. Navigate to your CRM/Dataverse environment.

    2. In this case, selecting Account to merge records.

    3. Open the Model-Driven App where the account records are located.

    4. Select two records to be merged.



    5. Click Merge on the Home Page.

    6. During the merging process, the issue occurs.



    7. Upon checking the error in the Console, the following error is displayed.



    Solution to Fix the Issue:

    Follow the steps below to resolve the error:

    1. Go to https://admin.powerplatform.microsoft.com

    2. Select Environments.



    3. Open the environment where the error is occurring.

    4. Click Settings.



    5. Search for Privacy + Security.

    6. Under Allowed MIME Types, enter application/json.



    7. Click Save to apply the changes.


    Conclusion:

    By following the steps outlined above, you can successfully resolve the "Invalid operation performed" error when merging Account/Contact records in Microsoft Dynamics CRM / Dataverse. Ensuring that the correct MIME type (application/json) is allowed in Privacy + Security settings can help prevent this issue from occurring. Proper configuration and understanding of system settings are key to seamless data management within the platform.




     

    Monday, October 7, 2024

    Day 10 - Using JavaScript to Set Field Requirements Dynamically - JavaScript in MSCRM/Dataverse

     In this Blog, we will see how to Set Field Requirements Dynamically - JavaScript in MSCRM/Dataverse



    if (formContext.getAttribute("bosch_booleanfield").getValue() == true) {
            formContext.getAttribute("bosch_enabledisablefield").setRequiredLevel("none");
        }
        else if (formContext.getAttribute("bosch_booleanfield").getValue() == false) {
            formContext.getAttribute("bosch_enabledisablefield").setRequiredLevel("required");
       }

    Monday, September 30, 2024

    Monday, September 23, 2024

    Day 6: Showing and Hiding Fields with JavaScript in MSCRM

     Introduction :


    In this blog we will see how to Showing and Hiding Fields with JavaScript in MSCRM


    function enableDisableFieldsBasedonCondition(executionContext) {
        debugger;
        var formContext = executionContext.getFormContext();
    
        if (formContext.getAttribute("bosch_booleanfield").getValue() == true) {
            formContext.getControl("bosch_enabledisablefield").setDisabled(true);
        }
        else if (formContext.getAttribute("bosch_booleanfield").getValue() == false) {
            formContext.getControl("bosch_enabledisablefield").setDisabled(false);
        }
    }













    Wednesday, September 18, 2024

    Day 4 - Validating Form Fields using JavaScript

    Introduction:


    In this blog we will see how to Validating Form Fields using JavaScript


    function validateDateField(executionContext) {
        var formContext = executionContext.getFormContext();
    
        if (formContext.getAttribute("bosch_destinationdate").getValue() != null &&
            formContext.getAttribute("bosch_sourcedate").getValue() != null) {
    
            if (formContext.getAttribute("bosch_destinationdate").getValue() < formContext.getAttribute("bosch_sourcedate").getValue()) {
                var alertStrings = { confirmButtonLabel: "Yes", text: "Destination Date Should be Greater", title: "Date Alert" };
                var alertOptions = { height: 120, width: 260 };
                Xrm.Navigation.openAlertDialog(alertStrings, alertOptions).then(
                    function (success) {
                        console.log("Alert dialog closed");
                    },
                    function (error) {
                        console.log(error.message);
                    }
                );
            }
        }
    }



    Monday, September 16, 2024

    Basic event handling - Onload, Onchange in MSCRM / Dataverse

     Introduction:


    Day 3 : Basic event handling - Onload, Onchange in MSCRM / Dataverse


    Script :


    function onChange(executionContext) { debugger; var formContext = executionContext.getFormContext(); if (formContext.getAttribute("bosch_dayname").getValue() != null) { var alertStrings = { confirmButtonLabel: "Yes", text: formContext.getAttribute("bosch_dayname").getValue(), title: "Throw Alert" }; var alertOptions = { height: 120, width: 260 }; Xrm.Navigation.openAlertDialog(alertStrings, alertOptions).then( function (success) { console.log("Alert dialog closed"); }, function (error) { console.log(error.message); } ); } }




    Friday, September 13, 2024

    FormContext to retrieve and set field values in MSCRM/Dataverse

    Introduction:


    Day 2 : using FormContext to retrieve and set field values in MSCRM/Dataverse forms.


    Sample JavaScript


    function onLoad(executionContext) { debugger; var formContext = executionContext.getFormContext(); if (formContext.getAttribute("bosch_dayname").getValue() != null) { formContext.getAttribute("bosch_setvalue").setValue(formContext.getAttribute("bosch_dayname").getValue()) } }


    Video for your Reference





    Cancelled Appointments not synced in Outlook ?

     Introduction: In this blog, we will see how to sync Cancelled Appointments in Outlook . Implementation Steps: 1. Navigate to https://make.p...