Open jfaderanga opened 1 year ago
Hello @jfaderanga :wave: It looks like you didn't include the full Salesforce CLI version information in your issue.
Please provide the output of version --verbose --json
for the CLI you're using (sf
or sfdx
).
A few more things to check:
rc
or nightly
versions. (docs)doctor
command to diagnose common issues.Thank you!
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
Hello @jfaderanga :wave: None of the versions of sf
you shared match the latest release.
Shared: 2.6.9
, 2.6.9
Latest: 2.17.14
Update to the latest version of Salesforce CLI (docs) and confirm that you're still seeing your issue.
You can also try the rc
and nightly
releases! (docs)
After updating, share the full output of sf version --verbose --json
@jfaderanga I don't see that in the metdata API type for PermissionSet. https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_permissionset.htm
What version of the metadata API supports ManagePackageLicenses?
@mshanemc yeah I don't see it in the documentation as well. It works fine on API V59.0 if you manually added it.
<userPermissions>
<enabled>true</enabled>
<name>ManagePackageLicenses</name>
</userPermissions>
ok, if it deploys than we'll assume it's OK in the API and the docs are hopefully just behind.
Does the command show that it's retrieving v59 metadata (on a v59 connection?). If not, that could be a setting in your sfdx-project.json
.
If so, can you you try to do this with some other mdapi tool (for example, workbench)? I'd like to know if the API is not returning properly. You could also try use the mdapi-flavored version of the command --target-metadata-dir
and see if that brings it down.
I can tell you that the CLI isn't doing anything "inside" the xml contents on PermissionSet, so if the API is really omitting those, you'll have to open a case to get it fixed.
yes, I tried multiple API version from 55.0 and it's the same output. I also tried the --target-metadata-dir
on sf project retrieve start
and same, it's not pulling it down..
Alrighty. I'll turn this into a bug and assign it to the right team, but cases help with prioritization.
This issue has been linked to a new work item: W-14560382
We have determined that the issue you reported exists in code owned by another team that uses only the official support channels. To ensure that your issue is addressed, open an official Salesforce customer support ticket with a link to this issue. We encourage anyone experiencing this issue to do the same to increase the priority. We will keep this issue open for the community to collaborate on.
Summary
Retrieving permission set does not include
ManagePackageLicenses
permission.Steps To Reproduce
Manage Package Licenses
Permission under System Permissions settings.Expected result
ManagePackageLicenses
permission in the XMLActual result
ManagePackageLicenses
permission in the XMLSystem Information
MAC OS zsh
Additional Information
ManagePackageLicenses
in the xml.