Salesforce.com setup screen has, in "Administer" section -> "Manage Apps" menu -> "Connected Apps" -> edit app page, a setting called "Permitted Users". This setting allows the portal administrator to decide if users can be allowed to approve the connected app themselves or to auto-approve the app for any profile admin wishes.

My problem is: when doing a metadata download through the Force.com Migration Tool, I can't find this setting. Am I missing something, or is this setting cannot be accessed with the Metadata API?

Thank you.


As far as I can tell, it's not supported by the Metadata API. What's weird, however, is that there's no mention of permissions under ConnectedApp, which suggests that it is not supported, but it's also not mentioned under Unsupported Metadata Types, which mildly suggests that it is supported. That said, since it can't be found in either place, and given the fact that I can't seem to find it in the metadata either, suggests that it's not supported. You may want to open a case with support to confirm that it's not supported, since we probably need to submit feedback to the documentation team to have the manual updated.

  • Thank you for your answer; I'll try to contact the Salesforce support. I'll keep this question opened for a while - I'll accept your answer as soon as support gets.back to me. – Dmitriy Khudorozhkov Aug 28 '16 at 14:51
  • @DmitriyKhudorozhkov Sure thing. In fact, I'd love to be wrong, because it seems awfully inconvenient to not have this available by way of the API. – sfdcfox Aug 28 '16 at 14:59
  • absolutely. I've just stumbled upon this very situation :/ – Dmitriy Khudorozhkov Aug 28 '16 at 15:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.