Starting in early September 2025, Salesforce restricts the use of uninstalled connected apps. This usage restriction blocks end users from using uninstalled connected apps. This change is part of Salesforce's commitment to making our products and services secure-by-default.
Customer Admins or users responsible for managing connected apps were advised to review Connected App OAuth Usage to identify uninstalled apps currently being used, and identify and install any trusted connected app.
An attempt to install these applications that results in an error message: “You cannot install a sandbox app outside on a non sandbox organization” means you are trying to install an app built specifically for a Salesforce Sandbox (or non-prod) environment into your Production org.
In some cases, this may be due to using an existing sample/demo application. Production applications built by developers and partners must use their own unique consumer key (also known as client ID).
Connected Apps:
Sandbox App:
Error Message:
OAuth Error:
error=invalid_clienterror_description=app must be installed into orgEdge Case in Sandbox:
Environment Mismatch:
Missing Permissions:
Configuration Issues:
Verify the Environment:
Check Permissions:
Run the Match Production Licenses Tool:
Install Trusted Apps:
Use Unique Consumer Keys:
Environment-Specific Apps:
Review Connected Apps Regularly:
Grant Necessary Permissions:
Plan for License Matching:
Use Trusted Apps:
005185027

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.