I'm trying to make an APP that will reference a certain number of calendar's of Engineers, if they are available then it will add their name to a dataset so users running the app can select them. Whats the best way of doing that? Is it possible to get a flow to run and build the dataset on the fly?
I don't think this is avaialble.
Accessing Calendar information is available under PowerApps & Microsoft Flow, but it is only available to get the calendar information for the Offiec 365 Outlook connection (bound with credentials) added.
For the Outlook 365 Outlook connection, check:
Referencing the Calendar of other users would require PowerApps to use the connection based on the corresponding user credentials, but currently PowerApps only allows one connection at a time when building the app, there is no way to switch the connection information after the app building.
This is the same under Microsoft Flow.
No, that is not possible.
The issue here should not only be related with the permission, but also the storage.
Calendar is stored under MailBox storage of each user, only the Exchange Online Admin and the user himself have the permission to View/manage the data stored there.
If a user would like to check another user's Mailbox information, it would require full permission assigned by the Exchange Admin.
There is no read permission that could be managed here.
Check the following article:
Further, under PowerApps, the connection is based on user credentials, so once the connection is added, the app is only available to get data from the mailbox of the corresponding user, there is no way that I am aware of to access other user's Mailbox.
Sorry for going over this again but just to clear it up in my head...
My login has access to all calendars in my organisation as read only so I can see if people are free or not....(same for all users)
Your saying that if I run my login to the powerapp I can't get that to check a calendar like I can in Outlook and see if the person is busy or not and then based on that information add them to a sharepoint list?
Because a user doesn't need full permission to check a calendar if they have been given permission directly to the calendar, it doesn't matter that the Mailbox lives above the calendar thats exactly how it works within our organisation...
However if there is no way to do it that way, is it possible to create a list of users based on if they are a member of a certain group? IE look inside group a all members of group are writen to a sharepoint list?
I have a similiar question: I'd like to know if certain collegues are busy at the moment, so ideally I could refence them by email and see if they have a Calendar event at this exact moment. Is this possibile with PowerApps?
Here's what I've done, just today: We have a generic account in Office 365 that we use for stuff like this, called global, and a few users have shared their Outlook calendar with it. I had to log into Outlook as global to accept their sharing offers, but after that I can retrieve the users' calendars in my app which uses global's credentials for the Outlook connector.
Strangely, I'm not seeing all events when I use the app. I haven't figured out what is going on.
Continue your learning in our online communities.
Stay Up-to-Date by following PowerApps on Twitter
Let's thank our top community contributors
Features releasing from October 2019 through March 2020
Coming to a city near you
Fill out a quick form to claim your user group badge now!
Connect, share, and learn with your peers year-round
Features releasing from April 2019 through September 2019!