Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

On Click of 'Close activity' icon on Timeline for a Phone call or a Task activity throws permission error for System Administrator as well.

Posted on by 115

On click of Close Activity Icon (Marked in red in below screenshot 1) on timeline for Phone call activity throws Permission error for System Administrator as well (refer screenshot 2)

pastedimage1588252526342v1.png

pastedimage1588252576867v2.png

And, further opening the phone call activity record and on click on Close Phone call(Refer screenshot) 

pastedimage1588252801542v3.png

works as expected 

pastedimage1588252878355v4.png

Can anyone please suggest on how to fix this issue...

  • Suggested answer
    JasonMcandrew Profile Picture
    JasonMcandrew 40 on at
    RE: On Click of 'Close activity' icon on Timeline for a Phone call or a Task activity throws permission error for System Administrator as well.

    I'd like to share the solution I have received from Microsoft support and it has resolved the issue for us. Hope this helps!

    - the 'CloseActivity' button in timeLine is throwing error because the one of the EnableRules for this button command : 'Mscrm.SaveAsCompleted' is failing.

    - The Enable Rule- 'Mscrm.CanSaveAsCompleted'  is failing because there is a active/unmanaged customization done for this enable rule by customer.

    i.e. cx has updated the rule definition and used the incorrect function name and library for this js custom rule in unmanaged solution. PFB:

    8306.Error.png

    - instead of removing this rule from the command definition, we can update the rule definition in unmanaged solution where we can add the correct/expected means OOB function and library for this enable rule as below:
    Steps to follow for this mitigation:

    1. Open Advanced Settings
      2. Navigate to Settings -> Solutions
      3. Click New to create a new solution, set Publisher to the value. In this cx case, this is "Default Publisher for Gripple" i.e. DefaultPublishercrm4org7ddc9)
      4. Click Entities
      5. Click Add Existing
      6. Select the entity "ActivityPointer" and click OK
      7. Make sure you uncheck 'Include entity metadata' and uncheck 'Add all assets' before clicking Finish
      8. Click Save
      9. Click Export Solution and export unmanaged solution
      10. Extract the .zip file
      11. Open the customizations.xml file
      12. Locate the <Entity> node child of the entity node you wish to edit and locate it's child <RibbonDiffXml> node
      13. Locate the RuleDefinition which we need to update In our case, Id of the EnableRule is "Mscrm.CanSaveAsCompleted", so we would locate the that node.
      14. Then update the rule definition as shown below:
    2. solution.png
    3. Add the modified customizations.xml file back to the solution .zip file
      16. Import the solution file
      17. Publish All Customizations
  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: On Click of 'Close activity' icon on Timeline for a Phone call or a Task activity throws permission error for System Administrator as well.

    Hi,

    Meanwhile can you open network tab in chrome developer tool(HIT F12) and perform the same operation.

    Check Netwrok tab traffic and see if any detailed error logged.

    If found helpful, Please mark my answer verified.

  • JasonMcandrew Profile Picture
    JasonMcandrew 40 on at
    RE: On Click of 'Close activity' icon on Timeline for a Phone call or a Task activity throws permission error for System Administrator as well.

    We are also experiencing this issue in Dynamics online. It appears to be a bug rather than a permissions issue as I am also a system admin with full permissions.

    We can also close the activity by opening the record manually.

    I have logged a support ticket with Microsoft and will report back if I have any update.

    Thanks

    Jason

  • Suggested answer
    RE: On Click of 'Close activity' icon on Timeline for a Phone call or a Task activity throws permission error for System Administrator as well.

    Hello,

    Can you let us know if you are using CRM on-premises or CRM online ? If you are using CRM on-premises then please try installing the latest update rollup and check if it helps. However, if you are using CRM online then please open a ticket so that we can check logs to understand you are getting permission error for system admin.

  • Suggested answer
    Henry J. Profile Picture
    Henry J. 5,237 on at
    RE: On Click of 'Close activity' icon on Timeline for a Phone call or a Task activity throws permission error for System Administrator as well.

    Hello,

    Indeed that behavior is a bit odd and the error message doesn't really explain what privileges you are missing to perform that action.

    Can you please open a Support Request here: https://admin.powerplatform.microsoft.com/support?

    Henry

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans