Sharing a Canvas App

Earn 25 points (50 with Pro) in two steps

  1. ① Read through the lesson — each section gets a ✓ as you scroll through it.
  2. ② When every section has a ✓, tap Complete lesson.

0 of 12 read · keep scrolling

✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro

Lesson: Mastering the Art of Sharing Canvas Apps in Power Apps

Introduction: Why Sharing Matters

In the ecosystem of Microsoft Power Platform, building an application is only half the battle. You might have crafted a functional, visually appealing, and highly efficient Canvas App that solves a complex business problem, but if that app remains locked within your own environment, it provides zero value to your organization. Sharing a Canvas App is the critical bridge between development and deployment. It is the mechanism by which you transform a personal tool into a collective asset, allowing your colleagues to collaborate, input data, and leverage the logic you have meticulously designed.

Understanding the mechanics of sharing is not just about clicking a few buttons in the Power Apps portal; it is about understanding security, user permissions, and the underlying data connections that make your app function. When you share an app, you are essentially granting a set of rights to specific users or groups, enabling them to interact with your creation while ensuring that sensitive data remains protected. Without a firm grasp of these concepts, you risk either over-exposing your company data or, conversely, creating a bottleneck where users are unable to perform their jobs because they lack the necessary access. This lesson will guide you through the intricacies of sharing, managing permissions, and ensuring your apps are accessible to the right people at the right time.

Not read yet

The Foundation of Sharing: Users and Permissions

At its core, sharing a Canvas App involves assigning roles and permissions to users or security groups within your Microsoft Entra ID (formerly Azure Active Directory). When you decide to share an app, you are essentially telling the Power Apps service that a specific identity is authorized to execute the code and view the interface you have built. However, sharing the app interface is distinct from sharing the data the app uses. This is a common point of confusion for new developers, and it is vital to distinguish between "App Access" and "Data Access."

The Two Pillars of Access

  1. App Access: This refers to the ability for a user to open the Power Apps player (or the browser) and launch your application. Without this, the user cannot see the interface or interact with the controls.
  2. Data Access: This refers to the underlying permissions required to read, write, or delete records in your data sources (such as SharePoint lists, Dataverse tables, or SQL databases). Granting a user access to the app does not automatically grant them access to the data inside the data source.

Callout: The "App vs. Data" Distinction Imagine an app as a window looking into a room filled with filing cabinets. Sharing the app is like giving someone the key to the front door of the building. However, inside the building, the filing cabinets (your data sources) have their own locks. Even if someone enters the building, they cannot read the files unless they also have the keys to those specific cabinets. You must ensure that permissions are configured correctly at both the application level and the data source level for a successful user experience.

Not read yet

Step-by-Step: How to Share a Canvas App

Sharing an app is a straightforward process within the Power Apps environment, but it requires careful attention to detail. Follow these steps to share your application with your colleagues:

  1. Navigate to the Power Apps Portal: Sign in to make.powerapps.com and select "Apps" from the left-hand navigation menu.
  2. Select the App: Locate the app you wish to share. Click the "More commands" icon (the three vertical dots) next to the app name.
  3. Open the Share Pane: Select the "Share" option from the menu. This will open a side panel where you can manage user access.
  4. Identify Users or Groups: In the search box, type the name or email address of the person, or the name of a security group you wish to share the app with. It is generally recommended to share with security groups rather than individual users to simplify long-term management.
  5. Assign Permissions: Decide whether the user should be a "User" or a "Co-owner."
    • User: The person can run the app and use the functionality, but they cannot edit the app’s logic or design.
    • Co-owner: The person can run the app, edit the app, and share it with others. Use this role sparingly, as it grants significant control over your work.
  6. Configure Data Permissions: If the app uses data sources that require separate permissions, the sharing panel will often provide a link or a note reminding you to manage those permissions. Follow those links to ensure the user has the necessary access to the underlying data.
  7. Notify Users: You can check the "Send an email invitation to new users" box to automatically send an email to the recipients with a link to the app.
  8. Save: Click the "Share" button at the bottom of the panel to finalize the changes.

Not read yet

Best Practices for Sharing

Sharing apps efficiently requires a strategy. If you share apps haphazardly, you will quickly lose track of who has access to what, leading to security risks and maintenance nightmares.

  • Use Security Groups: Instead of adding 50 individual users, add one security group. When a new employee joins the team, you only need to add them to the security group in your organization's directory, and they will automatically gain access to all the apps assigned to that group.
  • Principle of Least Privilege: Only grant "Co-owner" status to people who genuinely need to edit the app. Most users only need "User" access.
  • Regular Audits: Periodically review who has access to your apps. If a team member leaves a project, remember to remove their access to ensure your data remains secure.
  • Document Connections: If your app uses multiple data sources, create a simple document or a "ReadMe" file that lists the required permissions for each source. This helps when troubleshooting access issues for new users.

Tip: Managing Co-owners Being a co-owner of an app is a powerful responsibility. Co-owners have the ability to delete the app, change its underlying data connections, and add or remove other co-owners. Only designate a co-owner if you are prepared for them to have full control over the application’s lifecycle.

Not read yet

Handling Data Source Permissions

One of the most frequent support tickets in any Power Apps environment involves a user who can open an app but sees "Error: You do not have permission to view this data." This occurs because the app’s interface is loaded, but the connection to the data source is blocked.

SharePoint Lists

If your app uses a SharePoint list, simply sharing the app is not enough. You must also go to the SharePoint site and grant the user "Read" or "Contribute" access to the list itself. If you do not want the user to see the SharePoint site interface, you can grant them access to the list specifically via the list settings.

Microsoft Dataverse

Dataverse handles security differently. It uses "Security Roles." When you share an app that uses Dataverse, you must ensure that the user has a security role assigned to them that grants access to the specific tables used by the app. If you share the app with a user who lacks the appropriate security role, they will be unable to interact with the Dataverse data.

SQL Server

For SQL connections, the user needs access to the SQL database. Depending on how you connected (e.g., SQL Server Authentication vs. Windows Authentication), you may need to ensure the user has been granted access to the specific tables or stored procedures within the database.

Not read yet

Troubleshooting Common Pitfalls

Even with the best planning, issues can arise. Understanding how to diagnose these problems is a key skill for any Power Apps developer.

  • The "Blank Screen" Symptom: If a user opens the app and sees a blank screen, it is often because the app is attempting to load data it does not have permission to access, and the error handling in the app is not set to display a user-friendly message. Check your data source permissions first.
  • The "Connection Failed" Error: Sometimes a user might see a prompt asking them to "Allow" a connection. This is normal for their first time using the app. However, if the connection fails repeatedly, verify that the user has the correct credentials and permissions for that data source.
  • Version Issues: If you make significant changes to an app, remember that you must Publish the app before your users will see the updates. Sharing the app only shares the latest published version. If you are still working on a draft, your users will only see the previous version.

Warning: The "Publish" Requirement A common mistake is assuming that saving your changes is enough. Saving only updates your draft version in the editor. Your users will continue to use the last version that was explicitly published. Always click "Publish" after you have finished your testing to ensure the user base receives the latest improvements.

Not read yet

Comparison: User vs. Co-owner Permissions

Feature User Co-owner
Run the app Yes Yes
Edit the app design No Yes
Change data connections No Yes
Share the app with others No Yes
Delete the app No Yes
View app analytics No Yes

Advanced Sharing: Embedding and Distribution

Sometimes, you want to share an app in a way that is more integrated into the user's daily workflow. You are not limited to sending a link via email; you can embed your app in other platforms.

Embedding in Microsoft Teams

Microsoft Teams is a central hub for many organizations. You can add your Canvas App as a tab in a Teams channel. To do this:

  1. Open the Teams channel where you want to add the app.
  2. Click the "+" (Add a tab) button.
  3. Search for "Power Apps."
  4. Select your app from the list.
  5. The app will now be accessible directly within the Teams interface, making it much easier for your team to adopt the tool.

Sharing with External Guests

If you need to share an app with people outside your organization, you can use "Guest Access" within Microsoft Entra ID. This requires that the guest is added to your directory as a guest user. Once they are a guest, you can share the app with them just as you would with an internal user. Note that this requires appropriate licensing for the external users, so always check with your IT department regarding guest access policies.

Not read yet

Code Snippets and Logic

While the act of sharing is largely an administrative task, there are times when you might want to programmatically check if a user has access to certain features within your app. You can use the User() function to identify who is currently logged in and tailor the experience accordingly.

Example: Customizing UI based on User

You might want to show an "Admin Panel" button only to specific users. You can use the Visible property of that button:

// Set the Visible property of a button
// Only show this button if the current user is in the 'AdminGroup'
User().Email in ["[email protected]", "[email protected]"]

Or, even better, check against a list of authorized users stored in a data source:

// Check if the current user is in a SharePoint list called 'AuthorizedAdmins'
!IsBlank(LookUp(AuthorizedAdmins, Email = User().Email))

This logic allows you to manage security at a granular level within the app itself. While this is not a substitute for proper data source security (never rely on UI visibility to hide sensitive data), it is an excellent way to provide a cleaner, more relevant interface for your users.

Not read yet

Best Practices for Large Organizations

In larger organizations, the sheer volume of apps can become overwhelming. To keep things organized, consider these industry standards:

  1. Naming Conventions: Use a consistent naming convention for your apps (e.g., [Department] - [App Name]). This makes it easier for users to search for the right app.
  2. Environment Strategy: Separate your Development, Testing, and Production environments. Only share the "Production" version of the app with the general user base. This keeps your testing and development work isolated from the live environment.
  3. App Descriptions: Always provide a clear description of what the app does when you save it. This description is visible to users in the Power Apps portal, helping them understand if the app is relevant to their needs.
  4. Usage Analytics: Use the "Analytics" feature in the Power Apps portal to see how many people are actually using your app. If an app has zero users over several months, it might be a candidate for decommissioning, which keeps your environment clean and reduces overhead.

Not read yet

Common Questions (FAQ)

Q: Can I share an app with a person who doesn't have a Power Apps license?

A: Generally, no. Every user who runs a Power Apps app needs a license, whether it is a standalone Power Apps license or one included in their Microsoft 365 subscription. There are exceptions for certain scenarios, such as "Power Apps per app" plans or Pay-as-you-go billing, but you should always verify licensing requirements with your organization's license administrator.

Q: Why can't I see the "Share" button for my app?

A: If you do not see the "Share" button, it is likely because you do not have the necessary permissions to manage the app, or the app is part of a managed solution where editing and sharing are controlled by a central policy. Check if you are the owner of the app or if you are working in a specific environment that restricts sharing.

Q: Does sharing an app automatically share the underlying SharePoint list?

A: No. You must manually grant access to the SharePoint list. If you do not, the user will receive a "Data Source Permission" error when they try to open the app.

Q: Can I share an app with an entire Microsoft 365 Group?

A: Yes, sharing with Microsoft 365 groups or Security groups is highly recommended as it simplifies user management. When a user is added to the group, they automatically receive access to the app.

Q: Is it possible to share an app with everyone in the organization at once?

A: Yes, you can share with the "Everyone" group. However, be extremely cautious with this, as it exposes the app to every single person in your tenant. Only do this for apps that are intended for company-wide use, such as a "Company News" or "Directory" app.

Not read yet

The Importance of Documentation

As your app grows in complexity, the "Sharing" aspect becomes more than just a permissions issue; it becomes a support issue. If you are the only one who knows how the app works, you become a single point of failure. When you share an app—especially if you are sharing it with other developers or co-owners—take the time to document your work.

Include a "Documentation" screen in your app itself. This screen can contain:

  • A list of all data sources used.
  • A brief explanation of the app's purpose.
  • Contact information for the app owner or support team.
  • A link to any external process documentation (e.g., a Confluence page or a SharePoint site).

This level of professionalism ensures that your apps remain sustainable long after you have moved on to other projects. It helps your colleagues understand what they are using and reduces the number of "How do I do this?" questions you receive.

Not read yet

Summary: Key Takeaways

Sharing your Canvas App is a fundamental step in the development lifecycle that requires a balance between accessibility and security. By following these key practices, you ensure that your work is both impactful and secure:

  1. Distinguish between App Access and Data Access: Remember that sharing the app interface is only half the task; you must also ensure the user has permission to read and write to the data sources behind the scenes.
  2. Prefer Groups over Individuals: Always aim to share with security groups or Microsoft 365 groups to simplify user management and reduce administrative overhead as your team changes.
  3. Use the Principle of Least Privilege: Grant "Co-owner" status only when absolutely necessary. Most users only require "User" status to perform their tasks.
  4. Publish Before Sharing: Your users will only see the latest published version of your app. Always remember to hit the "Publish" button after making changes.
  5. Leverage Integration: Consider embedding your apps in Microsoft Teams or other platforms to make them more accessible and part of the user's daily workflow.
  6. Audit and Clean Up: Periodically review who has access to your apps and remove access for users who no longer need it. This maintains the security posture of your organization.
  7. Document Your Work: Create a "ReadMe" or an internal documentation screen to help users and future developers understand the app's purpose and logic.

By mastering these steps, you transition from someone who simply "makes apps" to a professional developer who understands how to deploy, manage, and sustain business solutions. Sharing is the final, essential step in the creation process, and when done correctly, it empowers your colleagues and drives value throughout your entire organization. Take the time to set up your permissions correctly, communicate with your users, and maintain your apps with the same care you used to build them.

Not read yet

Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.