Getting started with Microsoft Graph Postman workspace

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ธ.ค. 2024

ความคิดเห็น • 93

  • @TreeLuvBurdpu
    @TreeLuvBurdpu ปีที่แล้ว

    This is such a tl;dr dense explanation that it brings tears to my eyes, abstractly. I used all this about two years ago but now I've got to dive back into it very quickly and this is perfect to re-acquaint myself. Thank you.

  • @MatthewMcDermott
    @MatthewMcDermott 3 ปีที่แล้ว +1

    Thank you for walking through fail, tell us why, fail, tell us why, fail, tell us why, succeed! Great introduction.

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      You know. When you step on mines, it’s good to share where they are! Nice to see you’re taking a look at this!

    • @MatthewMcDermott
      @MatthewMcDermott 3 ปีที่แล้ว

      @@JeremyThake When you are in a minefield it's best to have someone else go first. :)

  • @FrankHanshaw
    @FrankHanshaw 2 ปีที่แล้ว

    TERRIFIC video Jeremy !!!! Very nicely explained, I successfully used this (even with some changes to Graph as of November 2022) to get my Graph requests running in Postman !!

  • @prasadmadushan
    @prasadmadushan 8 หลายเดือนก่อน

    This is perfect explanation under10 minutes.well done

  • @ilseslater507
    @ilseslater507 ปีที่แล้ว

    Brilliant !! - thank you , ive been struggling going through the docs for hours before i saw your video !

  • @awwallively
    @awwallively 3 ปีที่แล้ว

    I spent hours to get result from postman. Thank you for explaining. Very helpful.

  • @dula1020
    @dula1020 6 หลายเดือนก่อน

    Best explaination ever found. Thank you

  • @sanagpal
    @sanagpal 4 ปีที่แล้ว +1

    Thank you for sharing! Looking forward to see more videos

    • @JeremyThake
      @JeremyThake  4 ปีที่แล้ว

      You’re welcome! Please remember to subscribe to my channel . I’ll be posting more on these collections in Jan.

  • @550891
    @550891 3 ปีที่แล้ว +1

    Thank you ! Very helpful. I am new to postman and trying to learn as much . The folder structure you have and the environment settings were very helpful for me.

  • @randeeshirts3759
    @randeeshirts3759 ปีที่แล้ว

    Saved me tons of time thank you!

  • @mariofribla
    @mariofribla 2 ปีที่แล้ว +1

    Amigo, muchas gracias por tu aporte, tu video es y será un aporte para muchos que necesitamos estos aportes. Saludos.

  • @rodandnathalie
    @rodandnathalie 5 หลายเดือนก่อน

    Postman has changed a lot in the three years since this video was made. The Microsoft flows probably have, too. Can we get an updated version of this video?

  • @stanleyngugi1675
    @stanleyngugi1675 ปีที่แล้ว

    This was very helpful. Thanks Jeremy.

  • @RotiPani75
    @RotiPani75 2 ปีที่แล้ว +1

    This is a good guide, as a newb I noticed when I fork the Microsoft Graph Collection that the environment variables do not follow. I have not figured out how to add that yet so instead I directly put the information into the (ClientId, etc) where it needs to go and it works

  • @jaylee3941
    @jaylee3941 3 ปีที่แล้ว +2

    How did you get to "on behalf of a user"? I don't see the option?

    • @jaylee3941
      @jaylee3941 3 ปีที่แล้ว +3

      Ahh it's been renamed to delegated

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว +2

      I need to redo this video as yes as you discovered, it was renamed to match how our docs talk about these permissions. Sorry for the confusion.

  • @mjgstan
    @mjgstan 2 ปีที่แล้ว

    Why is it that when I click Get Access Token on delegated 6:29, no login screen appears and just gets the Authenticated Token immediately? Then all functions using /me is returning "/me request is only valid with delegated authentication flow."?

    • @raviv6510
      @raviv6510 2 ปีที่แล้ว

      Even I'm getting the same issue

  • @antoninjubault1434
    @antoninjubault1434 2 ปีที่แล้ว

    Awesome video Jeremy, thanks !

  • @tuanatayman3301
    @tuanatayman3301 2 ปีที่แล้ว

    Thank you, this video is a lifesaver :)

  • @Fresteeyles
    @Fresteeyles 3 ปีที่แล้ว

    Thank you very much, Jeremy!

  • @MarioMeyrelles
    @MarioMeyrelles 3 ปีที่แล้ว

    Extremely useful video. Thanks a lot Jeremy.

  • @Bob1German
    @Bob1German 4 ปีที่แล้ว +1

    Extremely useful tool and excellent video - thanks!

    • @JeremyThake
      @JeremyThake  4 ปีที่แล้ว

      You’re welcome! Please remember to subscribe to my channel . I’ll be posting more on these collections in Jan.

  • @jimcopeland4011
    @jimcopeland4011 ปีที่แล้ว

    I am having trouble executing this for application permissions. Delegated works fine, but I can set it up exactly as you did for application permissions and I am still getting "Authorization_RequestDenied"
    Is there another permission I need to grant in the app?

    • @arpitbest
      @arpitbest ปีที่แล้ว

      This is the problem with these cloud providers, They change functionality every day and never update the documentation , and then developer just head around to understand some basic stuff. Really Frustrating (as I am also facing same issue)

  • @mohamed-hassan-
    @mohamed-hassan- 2 ปีที่แล้ว

    thanks, very helpful video

  • @normanhofer8965
    @normanhofer8965 3 ปีที่แล้ว

    SUPER helpful video! Thanks.

  • @vikas87922
    @vikas87922 4 ปีที่แล้ว

    Very nice demo. Thanks for sharing. Very helpful for beginner like me.

    • @JeremyThake
      @JeremyThake  4 ปีที่แล้ว

      You’re welcome! Please remember to subscribe to my channel . I’ll be posting more on these collections in Jan.

  • @prasadfalke376
    @prasadfalke376 3 ปีที่แล้ว +1

    Wish I found this video earlier. (Probably spent 2-3 hours in figuring out how to do it - Core networking background)
    Can you please make a video on how to update the changes to user profile in AAD or other SaaS applications?

  • @s.karthickbe4770
    @s.karthickbe4770 26 วันที่ผ่านมา

    "code": "BadRequest",
    "message": "Tenant does not have a SPO license.",
    how i fix this any license it's should be purchase?

  • @abdulrafeyartist5025
    @abdulrafeyartist5025 2 ปีที่แล้ว

    what do we need to change in order to call mailing APIs from postman or daemon application ? i am getting the token but im unable to call the APIs , even tho i assigned the permissions

  • @adriaanrautenbach4424
    @adriaanrautenbach4424 2 ปีที่แล้ว

    Hi, Thanks for the helpfull Video, Where would one get the Auth URL and Token URL fir the autherization of the API?

  • @vijayrana8133
    @vijayrana8133 3 ปีที่แล้ว

    Very Helpful. Thank You

  • @dkanoongo
    @dkanoongo 3 ปีที่แล้ว +1

    Thanks for this informative video. Can you help me in how to get teams call record details using Graph API in postman?

  • @oph1066
    @oph1066 ปีที่แล้ว +1

    on the clone repo (or whatever) in postman there is no On behalf of Structure?????? so tuck at that point

    • @JeremyThake
      @JeremyThake  ปีที่แล้ว

      Old video. its called Delegated now.

    • @arpitbest
      @arpitbest ปีที่แล้ว

      @@JeremyThake Now even I am not finding the Delegated :(

  • @KumarShantanu1
    @KumarShantanu1 3 ปีที่แล้ว

    Thanks very useful!
    Help Please: After forking the postman collection I do not get the Envt Configuration in my Postman (Desktop App)

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      It’s a known issue. If you follow the steps in our docs it explains how to create it

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      docs.microsoft.com/en-us/graph/use-postman

    • @KumarShantanu1
      @KumarShantanu1 3 ปีที่แล้ว

      @@JeremyThake
      By following the link I was able to fork the collection, but Envt variables were missing it was not big effort to do it ourselves as there were only few variables to declare . However was wondering if I have missed any thing / better way to fork to get these as well.

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      No postman are working on this feature for forks to bring environment settings

  • @kevinmcquown
    @kevinmcquown 3 ปีที่แล้ว

    Great video Jeremy. I believe I have followed to the letter, however, I get the following error when making my request. "code": "Authorization_IdentityNotFound",
    "message": "The identity of the calling application could not be established.". I'm not sure what to do that this point.

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      Your best bet is to go to aka.ms/askGraph that isn’t an easy one to solve here and will need more info

    • @kevinmcquown
      @kevinmcquown 3 ปีที่แล้ว

      @@JeremyThake Thanks I think the issue is that the initial scopes being requested by postman appear to not include enough for the file management stuff to work. In code, I had to expand my scopes to include files.readwrite.all. I'm not sure where you can do that in postman.

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      If you notice in the video. I grant scopes in the azure ad application in portal.azure.com. You could change the scopes in the auth settings in postman config and next time you get a token you’ll be prompted to consent. It’s just easier how I show in video

  • @jacobharvey2946
    @jacobharvey2946 2 ปีที่แล้ว

    Thanks for the video. I was trying to fork things myself and got stuck. The step-by-step was helpful.
    Quick question. Is there documentation somewhere describing Graph permissions explicitly? I’m an application admin, an azure ad admin, etc. but there are multiple Graph API calls that declare I don’t have sufficient permissions (and I don’t seem to be able to grant admin consent for apps, even though I did it for an unrelated powershell test app months ago). And the tenant admin isn’t sure what to grant me (they can do the app grant). Thanks!

  • @raviv6510
    @raviv6510 2 ปีที่แล้ว

    Hello.. Please share some sample code in java to connect Azure AD for token and access the shared mailbox using generated token

  • @muhammadbasithussainhussai3248
    @muhammadbasithussainhussai3248 3 ปีที่แล้ว

    Tell me one thing where I can get a callback URL?

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      its in the docs docs.microsoft.com/en-us/graph/use-postman it's oauth.pstmn.io/v1/browser-callback

  • @francisco9180
    @francisco9180 3 ปีที่แล้ว

    I get this Error: AADSTS700016: Application with identifier '0d7ee8af-6ce0-4bxxxxx' was not found in the directory 'f8cdef31-a31e-4b4xxxxxx'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant
    What is wrong?

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      Are you using an app I’d you created in the same azure ad tenant? And signed into the tenant as the administrator?
      Best thing to do is sign up for a developer tenant to tinker until you’re comfortable with it

  • @karikalanramakrishnan9286
    @karikalanramakrishnan9286 3 ปีที่แล้ว

    Thanks a lot, very helpful!.

  • @PoetNoPoems
    @PoetNoPoems 3 ปีที่แล้ว

    A question, what is the differences between the graph explorer access token and postman. Getting tokens in postman works for many endpoints n graph but not all even though its the same user signed into explorer and postman. Looking at the permission scopes using jwt.ms, the permissions are the same. Really, it just appears to be a difference in the appId (client_id). What does graph explorer do that allows it to work without the issues I find using postman and its app-only or user based access tokens?

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      You have to add permissions in your azure ad app that is configured in postman for the token to pick up those consent permissions. And then the apis will work.
      Graph explorer is exactly the same. You have to consent graph explorer to the permissions you need and under the covers that will modify the azure ad consent for your user.

    • @PoetNoPoems
      @PoetNoPoems 3 ปีที่แล้ว

      @@JeremyThake Hi Jeremy, thank you for the reply. I do not want to bog you down with questions so lastly: I have added and admin consented to all permissions in azure. I want the app-only access token and have added the application permissions. Are you saying that there is another location to give consent, such as when a user is prompted by Microsoft to consent to the permissions?

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      @@PoetNoPoems what api are you trying to call? There are diff permissions to add for both delegated and application permissions .

  • @keshavmanuja1348
    @keshavmanuja1348 ปีที่แล้ว

    Hi, video was very helpful. I am trying to send email on behalf of other user with generated refresh token, but getting MailboxNotEnabledForRESTAPI error. Anyone has any idea about that.

  • @andrewpasto6651
    @andrewpasto6651 3 ปีที่แล้ว

    How do you get the client-id, client-secret and tenant for using personal account? Do we still need to register an application on azure ? If yes, can we delete the application later ?

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      Yes create it in the same way. But you have to change the azure ad app from Organization to Personal in the first screen where it gives you options about multi tenant or single tenant or consumer.
      And yes it’s your app , you can delete when you like.

    • @andrewpasto6651
      @andrewpasto6651 3 ปีที่แล้ว

      Thank you Jeremy. This is helpful. I have followed your video and used the free microsoft developer account to test this feature. I was able to send mail.
      Now what I am struggling is the access token is expired, I understand that I can use refresh token . Does refresh token also get expired ?

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      @@andrewpasto6651 for postman, you can just get a new access token repeating the steps. You only really need to worry about Refresh tokens in long running applications or interactive applications. In which case I’d recommend using MSAL SDKs for auth alongside our Graph SDKs as this is easily handled for you.

    • @gayatrisawale5865
      @gayatrisawale5865 3 ปีที่แล้ว

      ​@@JeremyThake Hey @Jeremy Can you please tell me how to get refresh token? I am trying to implement it using cURL call.

  • @billcavalieri554
    @billcavalieri554 3 ปีที่แล้ว

    Better explanation than the docs

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      I mean I wrote the docs too. But good to know the video helped more 😎

  • @OutlookCRM
    @OutlookCRM 3 ปีที่แล้ว

    Can you get an Access Token for EWS with a delegate using this?

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      ews does support Oauth2 flows, but we are encouraging everyone to call Microsoft Graph as this is the strategic direction and focus for us. What scenario do you still need to use EWS for?

    • @OutlookCRM
      @OutlookCRM 3 ปีที่แล้ว +1

      @@JeremyThake Public Folder Access for shared data.

  • @gunderchampion733
    @gunderchampion733 3 ปีที่แล้ว

    Hi, what happens if you want to only access a specific, not all users. From a microservice, I want to send an email on behalf of a specific email account.

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      You can call send mail on behalf of a user . But you’ll need the user to sign in on a front end and store their token in your backend and keep it refreshed. Best to ask for more on aka.ms/askGraph

  • @andrewbox2691
    @andrewbox2691 ปีที่แล้ว

    Nice, my feedback is expose Forms in graph API please! Thanks!

  • @cyberteer6426
    @cyberteer6426 3 ปีที่แล้ว

    thanks this was extremely helpful.

  • @veerreddyk6069
    @veerreddyk6069 3 ปีที่แล้ว

    can you please explain creating one to one & groupchat via api's?

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      Please go to aka.ms/askGraph to have that discussion. More discoverable for others there.

  • @meghobson
    @meghobson 3 ปีที่แล้ว

    I love this . thanks!

  • @sonyjumper111
    @sonyjumper111 3 ปีที่แล้ว

    Thanks, great tutorial!
    One question: How long will that bearer token that got generated be valid? Does it expire at all?
    The background is, that i want an Python Application to use this token for regularly fetching data from sharepoint.

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      Check out the getting started guide for python as it shows how to obtain tokens that way developer.microsoft.com/en-us/graph/get-started/python

    • @vicenteandrew4393
      @vicenteandrew4393 3 ปีที่แล้ว

      You probably dont care at all but does anybody know of a way to get back into an Instagram account?
      I was stupid lost my password. I appreciate any tricks you can give me!

  • @NatarajanVasan
    @NatarajanVasan 3 ปีที่แล้ว

    It was useful & Thanks

  • @jusosc
    @jusosc 3 ปีที่แล้ว

    Anyone else getting a blank page when trying to authenticate and grab token in Postman?

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว

      You likely didn’t set all the environment parameters correctly

  • @EricOnYouTube
    @EricOnYouTube 3 ปีที่แล้ว

    Things have changed. I think you changed "On behalf of user" is now called "Delegate." Or? LMK

    • @JeremyThake
      @JeremyThake  3 ปีที่แล้ว +1

      Yes it has. Just didn’t want to recut the whole video

  • @sebastienb5408
    @sebastienb5408 3 ปีที่แล้ว

    thanks you

  • @e-kelv1768
    @e-kelv1768 3 ปีที่แล้ว

    I dont see on behalf

  • @julianomoraisbarbosa
    @julianomoraisbarbosa ปีที่แล้ว

    # til