Hey! This is a really common issue with custom command bar buttons in Model-Driven Apps. The fact that you can see it but others can't almost always points to a security role / privilege gap. Here's a checklist to work through:
1. Check Security Roles & Privileges Since you're likely a System Administrator, you have full access to everything by default. Other users with lower-privilege roles may be missing key permissions. Specifically:
• Also verify they have the necessary table-level privileges (Create, Read, Write, etc.) on whatever table your Patch command is targeting. If they lack write access, the button may be hidden by design.
2. Publish Everything This sounds basic, but it catches people all the time:
• Go to your solution and click "Publish All Customizations" — not just "Save and Publish" from the command designer.
• If the button is in a managed solution deployed to another environment, re-import and publish the latest version.
• Ask the affected users to hard refresh their browser (Ctrl + Shift + R) or clear cache. MDA aggressively caches the command bar.
3. Check the Visibility Property Open your button in the Command Designer and look at the Visibility setting:
• If it's set to "Show on condition from formula", double-check your Power Fx. For example, if you're using DataSourceInfo to check permissions, users without edit access on the table will have the button hidden.
• Try temporarily setting it to just "Show" and publish. If users can now see it, the issue is in your visibility formula.
4. Use Command Checker to Diagnose Power Apps has a built-in Command Checker tool for exactly this kind of issue. Have an affected user:
• Open the app in a web browser
• Enable Command Checker (it appears as a button in the command bar)
To enable Command checker, append the &ribbondebug=true parameter to the URL of the app. For example:
Once Command checker is enabled, you'll find a new button named Command Checker in various command bars (global, main form, main grid, and subgrid). You may have to expand the menu bar to see this button.
• Find your custom button in the list — it will tell you exactly why it's hidden (missing privilege, display rule evaluation, etc.)