Skip to main content

Hi everyone,

I'm trying to retrieve the OAuth Scopes for all of my Connected Apps using the Metadata API, but it's only returning information for the unmanaged Connected Apps.

Does anyone know how I can also get the OAuth Scopes for the managed Connected Apps as well?

Any guidance would be greatly appreciated!

Thank you!    

 

@* Salesforce Developers * 

1 件の回答
  1. 2025年3月11日 9:39

    Hi @Jordan Lee

     

     

    Managed packages don’t expose OAuth scopes via the

    Metadata API due to security, compliance, and package integrity. Salesforce restricts modifications to prevent unauthorized access and maintain version control.

    To view OAuth scopes for a managed Connected App:

    1. Check App Manager in Setup.
    2. Contact the ISV provider.
    3. Use SOQL on ConnectedApplication (limited data).

     

     

    Thanks, 

    A. Gobinath