hi all,
When importing a solution i get an error "privilege With Id = 0557f49b-1cf7-46e1-8527-f3c7afee7001 Does Not Exist"
This is on a specific out of the box role which we did not change in the past few weeks... This also only happens on our Acceptance environment. Did already some checks if there are any differences on the role etc but could not find anything which would have impact..
Anyone here can guide me in the right direction?
kind regards
Robin
*This post is locked for comments
Update on above error message. We tried something else and we also CAN'T update the role directly in the environment which gives the problem. If we update any of the entities within the role and click save, we get the exact same error when importing the solution...
Maybe you guys have an idea why this is happening..?
Did that.. it is the error i posted. It says that for Security role X with ID Y the following error code 0x80040217 and privilege With Id = 0557f49b-1cf7-46e1-8527-f3c7afee7001 Does Not Exist
Hi Robin,
Request you to download log file and open that file with excel, in the second sheet you will find more details about the error. if you provide those details we can identify the root cause.
Thanks and Regards,
Prasanth
Sure, DEV: 1710 (9.1.0.4233) online
ACC: 1710 (9.1.0.4233) online
Same.. :(
"If you did not have this issue few weeks ago, i would check the solution history on both environments to see if there are patches or updates done by MS."
I also did a compare between the solution and customization XML from the day it worked (last week) and the new version from dev now... there was nothing weird about it... normal changes.
Hi
Could you share the source and target environment versions?
I would also check if there are differences in the applications or solutions (Mostly MS ones) installed between the two environment.
If the source environment has an application or module installed that introduced a new privilege. When you export the sec role i will include that privilege. I think its trying to look for that privilege on target and it does not exist.
If you did not have this issue few weeks ago, i would check the solution history on both environments to see if there are patches or updates done by MS.
If both source and target environments are identical, then you may have to raise a ticket with MS.
hi both, thanks for the help already :) much appreciated. I tried already to search in the Target environment for the ID but it is not there unfortunately.
So what i did is creating a new solution with the security role that gives this problem. If I try to import this in our acceptance environment it gives this error. So I removed this role from our main solution in DEV and imported this in our Acceptance environment. This works fine :) so it all should be good now. I tried to import the new solution with just this particular security role and it failed again :( same error... So also i checked this role in DEV and ACC and compared all the dots etc... the only difference is One Drive. There is no way to set this in Acceptance since it is turned off.. so i thought this was the problem but in our Test environment this is also not available in this role and it imports just fine there... Also removing all privileges from this Onedrive was not doing anything.
Okay there can be two other reasons for this issue:
1.importing the solution from lower version and pushing to higher version or vice versa
2. there is a an "extra" privilege that was there in your source system on a role doesnt exist in your target.
Hi Robin ,
Even if you change the privilege , the solution should import. I am suspecting something deletion activity you did in your source environment , and the particular privilege not able to find your exported solution but its exists in target environment. So try to find the which privilege you are missing as suggested by Rawish in your target environment.
In addition you could also try to do apply solution upgrade -
community.dynamics.com/.../how-to-delete-components-from-a-managed-solution
Hi Rawish, thx for the reply. Unfortunately in all my environments the GUID can't be found with the method from the URL you reffered to... really weird
Hi Robin,
Have a look here : passion4dynamics.com/.../search-for-privilege-name-using-privilege-id
try to find out what privilege and what entity its complaining about. Then you can work towards fixing it.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156