Sign in
Log inSign up
Jon Dixon

16 comments

Louis Moreaux
Louis Moreaux
Sep 16, 2022

Awesome as always Jon!

1
·
·1 reply
Jon Dixon
Jon Dixon
Author
·Sep 16, 2022

Cheers, Louis. Glad you enjoyed it.

·
Soeren Dalby
Soeren Dalby
Feb 17, 2023

Just what I needed

1
·
sssuarez
sssuarez
Sep 16, 2022

Thank you Jon. Just to confirm, if I do not set up the access policies as you outline above, the app registration credentials will automatically allow the viewing of users' emails and calendars?

Thanks again.

·
·2 replies
sssuarez
sssuarez
Sep 16, 2022

Just seems like this is not applying the principle of 'least privileges' for access.

·
Jon Dixon
Jon Dixon
Author
·Sep 16, 2022

You are correct. Without the access policy the *.All roles provide access to all users email, calendar, etc. unfortunately access policies only work for email and calendar currently

·
Gregory Grimes
Gregory Grimes
Sep 22, 2022

I noticed in your list 365 apps you didn’t mention WORD. Is this because we can’t use any available APIs for WORD or no one thinks there’s a need for that. We currently considering the new AOP add on. We aren’t using Office with that. Thanks.

·
·1 reply
Jon Dixon
Jon Dixon
Author
·Sep 22, 2022

Hi, the MS Graph APIs only cover Office 365 services, like email, calendar, SharePoint, etc. They do not cover Office 365 products like Word, Excel, PowerPoint, etc. If you need to generate Word or Excel Documents, then I would recommend APEX Office Print.

·
VB VLOG’S
VB VLOG’S
Oct 5, 2022

Hi Jon,

I am getting

{"error":{"code":"InvalidAuthenticationToken","message":"Access token validation failure. Invalid audience.",

error when calling users API. Followed same steps. Please help

·
·1 reply
Jon Dixon
Jon Dixon
Author
·Oct 6, 2022

Hi, It is hard to say from the information provided, but it could be that you did not grant admin consent after assigning the permission. Check the part of the Blog that starts with "The final step is to Grant Admin consent for the App...".

·
Imre Tarnai
Imre Tarnai
Oct 27, 2022

Hi Jon,

Thank you.

Didn't you have to set up ACL rules and wallet to make the test work?

·
·1 reply
Jon Dixon
Jon Dixon
Author
·Oct 27, 2022

Ordinarily, yes but I run my stuff on Oracle Cloud Free Tier which already has ACLs and a Wallet with the most common certificates already installed.

1
·
Paul Jereb
Paul Jereb
Dec 7, 2022

Hi Jon, I just stumbled over your post.

We were working on an MS Graph SDK for PL/SQL some time ago and put it on GitHub, could be interesting for you.

·
·1 reply
Jon Dixon
Jon Dixon
Author
·Dec 8, 2022

Very cool; I'll check it out.

·
Jordan Holmer
Jordan Holmer
Apr 3, 2023

How do I handle pagination?

·
·1 reply
Jon Dixon
Jon Dixon
Author
·Apr 4, 2023

Hi Jordan, You must write a REST Source Plugin for pagination using REST Data Sources blogs.oracle.com/apex/post/apex-181-early-…. I haven't gotten my head around how to do that yet, so currently, I use PL/SQL to fetch data in a loop. I either use a PL/SQL pipelined table function or add data to an APEX Collection.

·