latest Post

Problem Reopening Opportunity - Check Owner of Resolution Activity


An issue one of our users reported this morning was that they were unable to reopen some legacy (pre 2017) opportunities  and instead were getting the below "Access Denied" message however, some Opportunity records would reopen fine.



Your probably thinking why am i blogging about this its just a simple fix of updating permissions however, downloading the log file associated with the error didn't provide any hints of the missing privilege it simply stated:

"You do not have enough privileges to access the Microsoft Dynamics 365 object or perform the requested operation. For more information, contact your Microsoft Dynamics 365 administrator." Useful! 

On checking the users permissions I could see they had the correct permission levels to re- open the selected Opportunities (Business Unit access to all privileges) and the record they were trying to reopen was owned by a user within the same business unit as themselves. Therefore there should not of been an issue.

After a fair bit of investigation trying to look at patterns at what Opportunities could be reopened and which ones couldn't I happened to notice that  all the dates correlated to a day where a large amount of Opportunities were imported via SSIS from a legacy system. 

Then it dawned on me that although the records are owned by a user in the same business unit I bet the records were closed by a user not in the same business unit e.g. my account or a service account and that the problem maybe that the user is not able to update the resolution activity (Opportunity Close) record from "completed" to "Canceled". When reopening a Opportunity record the system automatically updates the status reason of the previous associated "Opportunity Close" record to cancelled.

To test I reopened the Opportunity with my admin account and then logged back in with my user account (set with the same permissions as user) and I was now able to successfully close the opportunity record. I then  reopened the Opportunity with my user account, logged back in with my admin account and closed the opportunity again.  Finally I logged back in with the user account but was unable to reopen the opportunity, confirming the issue was to do with the owner of the Opportunity close record.

Quite simple really but something that threw me a little at first as I was only thinking about the owner of the Opportunity record and the fact the user had business unit level privileges to the record.
Recommended Posts × +

1 comments:

  1. GET BACK YOUR EX FAST, SAVE YOUR MARRIAGE FROM DIVORCE AND AMEND YOUR BROKEN RELATIONSHIP WITH THE HELP OF DR GREAT CALL OR WHATSAPP +2348118829899

    Hello everyone i am happy to spread my testimony of a strong spell caster called Dr Great. I'm Kaitlyn Houston and i live in USA, my husband and i had a little fight because of that he wanted to divorce me i was so afraid to lose him because i love him very much so i search online for help and i saw a lot of people's testimonies on how Dr Great help them and came out with positive results like Divorces, Cancers, lotteries, fertilities and others. So i emailed him and told him my problem and he told me what to do and I did it as he instructed, 24 hours later he told me he is done with the spell and my husband will no longer divorce me and when my husband came back from work he told me he won't divorce me anymore he said he didn't know what came over him that he is sorry I was so happy and I thank Dr Great for his help If you need Dr Great help email him at infinitylovespell@gmail.com or infinitylovespell@yahoo.com view his blog http://infinitylovespell1.blogspot.com my page https://kaitlynhouston19.blogspot.com you can also add him on WhatsApp +2348118829899 and he will put an end to your problem 

    ReplyDelete