[SalesForce] Unknown user Permission: ViewDataAssessment – Profile migration issue

I've been trying migrating some of my codes using ANT migration tool, including Admin profile.

<types>
    <members>Admin</members>       
    <name>Profile</name> 
</types>

Whenever i try to deployunpackaged from fsandbox to production, i keep getting following unknown user permission errors time to time.The latest one is
Unknown user Permission: ViewDataAssessment

and before that I was getting following errors,

  • Unknown user Permission:DelegatedTwoFactor
  • Unknown user Permission:ModerateNetworkUsers

But i was able to compare the profiles between fsandbox and Production and fix it. How can I avoid issues like this in future. Is there any setting i can use to bypass these errors

Thanks,
Lahiru

Best Answer

You will find many hits if you Google this and it is posted in the "Known Issues" Summer 14- Force.com project fails with "Unknown user permission" so add yourself there.

Manual (or scripted) editing of the profiles is the normal workaround. This is the sort of problem that some of the paid-for release management tools might automatically work-around.