Tips for PowerApps-(When) does a user need a license?

2017-01-05 | Toni Pohl

PowerApps is licensed in the Office 365 environment and offers three license plans: PowerApps for Office 365 and Dynamics 365, PowerApps Plan 1 and PowerApps Plan 2. Since it often is not clear, if end users who want to use (and not create) a PowerApps app need a license or how licensing works with data sources, I want to inform about licenses, show some samples and clarify that topic here.

License plans

First, let’s have a look at the license plans. powerapps.microsoft.com/pricing informs about the three different license plans which are available since November 2016. For Flow, see flow.microsoft.com/pricing.

SNAGHTMLffb3a7e

PowerApps licenses at a glance

So, I summarized the top key facts for licensing of PowerApps:

What happens with a user without licenses?

To show this in real word, I have documented the scenario of a user accessing a PowerApps app without any license here.

image

image

So, the new user was created.

image

This user does not have any Office 365 license. He just can sign in.

Try it

So, let’s open a browser in Private mode and try https://powerapps.microsoft.com/.

image

Sign in with the new user.

image

Now, there comes the interesting part: John does not have a PowerApps license.

PowerApps welcomes us with two options: “Cancel” or “Start my trial”.

To clarify, this means, we will not get access to PowerApps without a license.
Every user of a PowerApp needs a license (whether he just want to use an app or if he wants to create a new app).

So, the minimum license plan a user needs is “PowerApps for Office 365 and Dynamics 365”.

Don’t use PA – or use a trial

If you like, use “trial”. As mentioned above, this trial lasts for 90 days.

image

With the trial, John now can also create new PowerApps or consume existing ones.

image

The user gets the full PA experience as with a license.

If a user is running a trial, the Office 365 administrator can assign him a “real” license anytime.

Need a license for the data source as well

So, John has a PowerApps trial license now (but still no other license). When accessing a company app, we get interesting effects, which might not be clear for all readers. So I also wanted to document this scenario (and in general the behavior when working with PowerApps and data sources).

I am using the mobile PowerApps app on my phone for the test, logged in as John. Although I can see the apps, as the “Fahrtenbuch” app (see here), I need to sign in to access the data sources – in that case SharePoint Online and Office 365 Users. Ok, so Sign in, Connect for each data source, until it’s done and then Allow.

20170105_103417000_iOS 20170105_103443000_iOS 20170105_103455000_iOS 20170105_103508000_iOS 20170105_103518000_iOS

So far so good. Now the app continues and …

20170105_103525000_iOS 20170105_103613000_iOS

…the user does not get access to the data source. He cannot use the app with SPO as data source.

That’s understandable and shows, that a license is needed for the Office 365 resources as well (or any cloud service that is covered with a standard connector). John could sign in, but he does not have a license for accessing SharePoint Online. So he does not get access to the data source.

It would be a different story, if the organization writes it’s own data source (a Web API with the CRUD operations and a swagger document) without any Office 365 data services. Then there’s just the PowerApps license required (as we have currently with the trial for John).

Test it with license for PA and the data source

Just – to proof that – the other way around: When checking the licenses of John, we see, that the PA trial is not visible. The user still has no PA license. Secondly, I assign just the SPO (Plan 2) license to that user.

image

It took about 1 to 2 minutes until my PowerApps app on the mobile client showed my apps again. When running the “Fahrtenbuch” app, I got the same experience as above: “You don’t have permissions to access this app.”. Well, ok, now John has a license.

But, he does not have permissions to the SharePoint list!

Usually in SPO, permissions are inherited. So I simply assigned John as member of the underlying SPO site (where the list is stored).

image

Ok, next try. Going back to my mobile device, creating a new record and tapping the refresh button in the list. Now it works like a charm.

20170105_140102000_iOS 20170105_140114000_iOS

Now John is able to use the PowerApps app. Reading the (second data source) Office 365 users works as well with the account of John.

What we see in this sample as well, is that there is no impersonation of users working with a PowerApps app and an Office 365 data source. The PA client is accessing the data source with the credentials (the user object or the token) of the logged in user. In our case John needs to have permissions to the SPO list.

Summary

I hope this short summarization makes it clear how licensing for PowerApps works and what it means in real world.

Happy developing PowerApps!

Categories: General, App, Azure, Cloud, Developer, English, Microsoft, Office365, SharePoint, PowerApps

Source: https://blog.atwork.at/post/Tips-for-PowerApps-(When)-does-a-user-need-a-license