You need to sign in to do that
Don't have an account?
Thomas Frieling
sfdx: Error on deployment to Sandbox: "Unknown user permission: "
When trying to deploy from our sfdx environment to a Sandbox via sfdx force:mdapi:deploy we get lots of errors concerning the Admin-profile and custom profiles:
Error mdapi_output_dir/profiles/Admin.profile Admin Unknown user permission: AllowUniversalSearch
After manually removing each user permission step by step it turns out that we get the same error for at least the following user permissions:
Thanks for your ideas,
Thomas
Error mdapi_output_dir/profiles/Admin.profile Admin Unknown user permission: AllowUniversalSearch
After manually removing each user permission step by step it turns out that we get the same error for at least the following user permissions:
- AllowUniversalSearch
- AllowViewKnowledge
- ChangeDashboardColors
- EditKnowledge
- EditPublicReports
- EditReports
- EnableCommunityAppLauncher
- ManageCssUsers
- ManageDashboards
- ManageEntitlements
- ManageKnowledge
- ManageKnowledgeImportExport
- ManageSearchPromotionRules
- ShareInternalArticles
Thanks for your ideas,
Thomas
you need to deploy the profiles separately in this case, are you using ANT migration tool?
Would we deploy the profiles first or last?
- create the MD output using
- remove the profiles from mdapi_output_dir/package.xml
- sfdx force:mdapi:deploy -d mdapi_output_dir/ -u DxTest
- works
- remove everything but the profiles from mdapi_output_dir/package.xml
- sfdx force:mdapi:deploy -d mdapi_output_dir/ -u DxTest
- ERROR: Error mdapi_output_dir/profiles/Admin.profile Admin Unknown user permission: AllowUniversalSearch
Ergo I can deploy everything without the profiles, but not the profiles themselves (even separately).mdapi_output_dir/ --packagename release-pkgsfdx force:source:convert -d
Any other ideas? Or is sfdx just not usable yet?
Good luck !
https://developer.salesforce.com/forums#!/feedtype=SINGLE_QUESTION_DETAIL&dc=Developer_Forums&criteria=ALLQUESTIONS&id=9060G000000MVrtQAG