|
Tim,
Sure, but let me first talk to the Microsoft person here (my knowledge of
Microsoft is pathetic...) and see exactly how he configured my
program/requester. It runs as a batch job and is certainly headless.
On Thu, Apr 30, 2020 at 5:17 AM Tim Fathers <X700-IX2J@xxxxxxxxxxx> wrote:
Bruce, I have to use the Graph APIs for a non-IBM i project, which willbe
a daemon job in the background sending and reading mail on behalf of apage)?
user. Any chance I could pick your brains about the token requesting in a
headless scenario (i.e. where I cannot redirect the user to a log-in
calendar
Cheers,
Tim.
________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of
Bruce Vining <bruce.vining@xxxxxxxxx>
Sent: 29 April 2020 23:12
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: Anyone Using Microsoft Graph Calendar APIs from the IBM i?
Just in case anyone finds this discussion, I do have Outlook cloud
creates, updates, and deletes working from the i. I am taking advantageof
the httpapi and yajl support that's available (thanks Scott), and, hopingfor
that it will help someone some day, I'll simply say it wasn't that hard
(and that some of the Microsoft documentation is, well, not so great --
instance there isn't a need for a call back approach). My code, needlessto
say, is **free RPG.OneDrive).
On Tue, Apr 21, 2020 at 5:40 PM B Stone <bvstone@xxxxxxxxx> wrote:
I have written interfaces for a few Office APIs (email, SMTP,
forNot Calendar yet, though (but I did for Google Calendar) as I haven'tused
it personally or had requests for it.the
You do need application permissions and OAuth 2.0 flow, which really is
most challenging part, especially since microsoft requires a callback
Ithe initial OAuth authentication. (this can be skirted with a fewtricks,
though).
My GreenTools for Microsoft Apps (G4MS) now uses the Graph APIs for
everything as well, so creating a calendar hook wouldn't be terrible.
upbelieve you could even use the G4MS base for OAuth 2.0 like I have set
https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.bvstools.com%2F&data=02%7C01%7C%7C93cad3820e3a4939c04808d7ec821ad1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637237915847928597&sdata=AwXzG34RWz%2FwusZmNArs2GvERenP2PzmBO46mqZ9Ogs%3D&reserved=0for my Google API package as well. I could easily create a simplecalendar
package if you were interested with some basic functions.
Bradley V. Stone
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.bvstools.com%2Fg4pp.html&data=02%7C01%7C%7C93cad3820e3a4939c04808d7ec821ad1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637237915847928597&sdata=ZlJzKMASq%2FcoTJo92Lwrd%2B7RINV78EmhSJ3GcnHUOP0%3D&reserved=0GreenTools for PayPal <
:https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fresources%2Fcalendar%3Fview%3Dgraph-rest-1.0&data=02%7C01%7C%7C93cad3820e3a4939c04808d7ec821ad1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637237915847928597&sdata=8%2BHTWwCjz1aqn9jrk%2F1ln5xC%2FKkQSYNqotZ57sEvcro%3D&reserved=0
Easily send
PayPal invoices from your IBM i applications using RPG ILE! Processfrom
refunds, get account balances and more!
On Tue, Apr 21, 2020 at 3:31 PM Bruce Vining <bruce.vining@xxxxxxxxx>
wrote:
I have the need to create and maintain cloud based Outlook calendars
the i. The various calendar APIs (
the isomeone)
seem sufficient but I do have questions on configuration and hope
out there has been down this path before.
First some background. Various dates and times are maintained on
individualsindividualsrelated to the progress of orders. Some of these dates and times
correspond to meetings that need to be held involving several
(who will vary based on the specific order). All of these
dotime
use Office 365/Outlook calendar and currently operators on the i must
manually maintain these calendar entries whenever the date and/or
ofthere
currentlythe meeting changes back in the i. What I want to do is capture thejobs)
database changes and basically feed them through a *DTAQ to a job (or
that are using the Graph APIs to eliminate the manual approach
being used. So far so good, all of the *DTAQ entries are getting
anyjust fine. Now it’s time for the Microsoft Graph configuration work…
In reviewing the Graph documentation it appears that I want to use is
application permissions. Has anyone used such an approach? If so,
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fdevelop%2Fquickstart-configure-app-access-web-apis&data=02%7C01%7C%7C93cad3820e3a4939c04808d7ec821ad1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637237915847938591&sdata=Gka4qw9wT94Kww2WufheQVFp1%2F5j%2FNGxKCIA0ZT%2BkfU%3D&reserved=0toadvice/examples/warnings to share? The company here has never setanything
up for application permissions, I certainly never have, and I’m not
authorized to do any “playing around” on the Microsoft side so I need
get the configuration “right” the first time. There are many sites (
forconcernedbeing
one) that talk about setting up application permissions but I’m
that my use of terminology doesn’t exactly fit with Microsoft use of
terminology, and there’s way too many warnings in the various sites
andmy
comfort (given my general feeling that I’m missing “something” due tothese
terminology/conceptual differences).
Any guidance from those who have been here before?
Thanks,
Bruce
PS – I’m confident that using the Graph APIs will be “educational”
mailingI’mbad
comfortable with that. I just want to make sure I’m not going down a
path in getting the two systems to talk with each other. That is,getting
the basic networking configurations in place.
--
Thanks and Regards,
Bruce
931-505-1915
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fmidrange-l&data=02%7C01%7C%7C93cad3820e3a4939c04808d7ec821ad1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637237915847938591&sdata=Qwukwes74sOsOwu3G2%2F0PZHpt5escJDZta%2FT3HwZIdo%3D&reserved=0list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fmidrange-l&data=02%7C01%7C%7C93cad3820e3a4939c04808d7ec821ad1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637237915847938591&sdata=P7%2FiWwLrugRtEALmL3rLVOntyU2H8Zh0i4%2BZ2pmK%2FBc%3D&reserved=0or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
.affiliate
related
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
questions.
Help support midrange.com by shopping at amazon.com with our
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&data=02%7C01%7C%7C93cad3820e3a4939c04808d7ec821ad1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637237915847938591&sdata=9%2BnxUPoLshVypCnJAEfkXgBJ4zpqvY8sTyuVBXjSuuY%3D&reserved=0link:
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fmidrange-l&data=02%7C01%7C%7C93cad3820e3a4939c04808d7ec821ad1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637237915847938591&sdata=Qwukwes74sOsOwu3G2%2F0PZHpt5escJDZta%2FT3HwZIdo%3D&reserved=0list--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fmidrange-l&data=02%7C01%7C%7C93cad3820e3a4939c04808d7ec821ad1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637237915847938591&sdata=P7%2FiWwLrugRtEALmL3rLVOntyU2H8Zh0i4%2BZ2pmK%2FBc%3D&reserved=0or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
.related
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&data=02%7C01%7C%7C93cad3820e3a4939c04808d7ec821ad1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637237915847938591&sdata=9%2BnxUPoLshVypCnJAEfkXgBJ4zpqvY8sTyuVBXjSuuY%3D&reserved=0questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
list
--
Thanks and Regards,
Bruce
931-505-1915
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxxhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fmidrange-l&data=02%7C01%7C%7C93cad3820e3a4939c04808d7ec821ad1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637237915847938591&sdata=Qwukwes74sOsOwu3G2%2F0PZHpt5escJDZta%2FT3HwZIdo%3D&reserved=0
To subscribe, unsubscribe, or change list options,
visit:
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxxhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fmidrange-l&data=02%7C01%7C%7C93cad3820e3a4939c04808d7ec821ad1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637237915847938591&sdata=P7%2FiWwLrugRtEALmL3rLVOntyU2H8Zh0i4%2BZ2pmK%2FBc%3D&reserved=0
Before posting, please take a moment to review the archives
at
.https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&data=02%7C01%7C%7C93cad3820e3a4939c04808d7ec821ad1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637237915847938591&sdata=9%2BnxUPoLshVypCnJAEfkXgBJ4zpqvY8sTyuVBXjSuuY%3D&reserved=0
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
--list
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
Thanks and Regards,
Bruce
931-505-1915
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.