web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : ZzD6VNLE7FKQkf+T7D8pDU
Power Apps - Building Power Apps
Answered

Advice re: Which API e.g. Graph or Office365Users etc

Like (0) ShareShare
ReportReport
Posted on 22 Jan 2023 09:37:47 by 7

Is someone able to provide some guidance please in relation to the correct API's to be using in Power Apps? I have some test apps using the built in connectors such as Office365Groups and Office365Users. I also have an app using a custom connector wth MS Graph and have downloaded one of the sample app templates for "Book a Room" which uses items like Office365.GetRoomsInRoomList and Office365.FindMeetingTimes.

 

I'm wanting to do the right thing in relation to not using 'the old way' of doing things

 

I did read that EWS using SOAP was depricated / being phased out and that REST via the Graph API was preferred.

 

  • I'm assuming that connectors / APIs like Office365Groups and Office365Users are here to stay?
  • Should I try and just use these built in connectors before using a custom connector with the Graph API?
  • Is the Office365.GetRoomsInRoomList type of API using EWS? still being used?
  • Should I start using the Graph API for everthing and not the Office365Groups and Office365Users ones?
  • I did see somewhere someone putting the graph explorer string in with Office365Users and httpRequest so is the way we should be going?

 

Hopefully the context of how I've described things is correct 🙂

 

Many thanks for any advice.

 

regards

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    HamidBee Profile Picture
    932 Super User 2024 Season 1 on 22 Jan 2023 at 12:56:38
    Re: Advice re: Which API e.g. Graph or Office365Users etc

    The Microsoft Graph API is the recommended way to access Office 365 data, including data related to groups, users, and meetings. The built-in connectors like Office365Groups and Office365Users use the Microsoft Graph API under the hood, but they provide a simplified, pre-built set of actions that you can use in Power Apps.

    The Office365.GetRoomsInRoomList and Office365.FindMeetingTimes actions you mentioned are built on top of the Microsoft Graph API and are still supported, but you may find that the Microsoft Graph API offers more capabilities and flexibility than these built-in actions.

    If you're building a new app or need to access data that isn't available through the built-in connectors, then using the Microsoft Graph API directly is recommended. It's a RESTful API and you can use the Graph Explorer to test different queries and see what data is available.

    The custom connector approach using MS Graph and httpRequest is also a good option if you need more control over the data being returned or if you need to access data that is not available through the built-in connectors.

    In summary, it's good to use the built-in connectors if they meet your needs, but if you need more control and flexibility, the Graph API is the recommended way to access Office 365 data. And you can use the Graph Explorer to test different queries and see what data is available.

     

    If my reply helped you, please give a 👍, & if it solved your issue, please 👍& Accept it as the Solution to help other community members find it more.

     
  • Sandecker Profile Picture
    7 on 22 Jan 2023 at 14:12:37
    Re: Advice re: Which API e.g. Graph or Office365Users etc

    Thank you very much for that - that's definitely helped 🙂 - now I can carry on with with my app with confidence.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 629 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 397 Super User 2025 Season 2

#3
wolenberg_ Profile Picture

wolenberg_ 232 Moderator

Last 30 days Overall leaderboard
Loading complete