|
There's the activation code option too, maybe that's how? I've done
something similar for a headless Twitter client with OAuth, but I can't
find the code at the moment.
Bruce is not wrong about the MS docs...!
________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of B
Stone <bvstone@xxxxxxxxx>
Sent: 30 April 2020 14:38
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Anyone Using Microsoft Graph Calendar APIs from the IBM i?
To be clear, the callback is only for the initial token and that can be
done manually, although it's a little messy.
After that there is no need for the HTTPS callback unless you need to
reauthorize an account (which I've found with MS can happen for any
reason). So I would be curious how he skirted it.
On Thu, Apr 30, 2020 at 5:43 AM Bruce Vining <bruce.vining@xxxxxxxxx>
wrote:
Tim,wrote:
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>
in a
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 a
user. Any chance I could pick your brains about the token requesting
midrange-l@xxxxxxxxxxxxxxxxxxheadless scenario (i.e. where I cannot redirect the user to a log-inpage)?
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 <
advantagecalendar
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
ofhoping
the httpapi and yajl support that's available (thanks Scott), and,
needlessthat it will help someone some day, I'll simply say it wasn't that hardfor
(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,
tohaven't
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,
Not Calendar yet, though (but I did for Google Calendar) as I
isused
it personally or had requests for it.
You do need application permissions and OAuth 2.0 flow, which really
setthefor
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.
believe you could even use the G4MS base for OAuth 2.0 like I have
uphttps://eur04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.bvstools.com%2F&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606276263&sdata=gjQNQ3mKY0vXnbcFWnTGm910ytdS7w6i3KN5Jvd9ZYA%3D&reserved=0
for 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://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.bvstools.com%2Fg4pp.html&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606286260&sdata=54046kpM23vKd%2Bua%2FisyyE1cDPMUGroDacSbS%2FS5q10%3D&reserved=0GreenTools for PayPal <
calendars:
Easily send
PayPal invoices from your IBM i applications using RPG ILE! Process
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
https://eur04.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%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606286260&sdata=41MXLy%2Fqr%2BqnGTOov68Q4v0BNnBa17JBJjrh%2FEjo94c%3D&reserved=0from
the i. The various calendar APIs (
mustthe 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
do
use Office 365/Outlook calendar and currently operators on the i
thetimemanually maintain these calendar entries whenever the date and/or
of
the meeting changes back in the i. What I want to do is capture
(ordatabase changes and basically feed them through a *DTAQ to a job
work…therejobs)currently
that are using the Graph APIs to eliminate the manual approach
being used. So far so good, all of the *DTAQ entries are getting
just fine. Now it’s time for the Microsoft Graph configuration
is
In reviewing the Graph documentation it appears that I want to use
needanyapplication permissions. Has anyone used such an approach? If so,
advice/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
sites (to
get the configuration “right” the first time. There are many
https://eur04.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%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606286260&sdata=Vc6FoYEf2CLUu2TrGOGq7dQjKSZ4i%2Frahc0e2AReUUE%3D&reserved=0
ofconcernedbeing
one) that talk about setting up application permissions but I’m
that my use of terminology doesn’t exactly fit with Microsoft use
toforterminology, and there’s way too many warnings in the various sites
my
comfort (given my general feeling that I’m missing “something” due
down aandthese
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”
I’m
comfortable with that. I just want to make sure I’m not going
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fmidrange-l&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606286260&sdata=zt27NhM1bznVtYFGLYIB1ywxIugOM9CEWLGL3H154KY%3D&reserved=0badmailing
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)
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fmidrange-l&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606286260&sdata=uED8z%2BopTNQTUHANzkuEAiWvZ39d3WqoN52LH4YymJg%3D&reserved=0or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606286260&sdata=1troVK2vT8LbYvaqR8cJZHMOOoMn7oA8%2BIv8C47cR5I%3D&reserved=0.affiliate
related
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
questions.
Help support midrange.com by shopping at amazon.com with our
link:
mailing--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fmidrange-l&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606286260&sdata=zt27NhM1bznVtYFGLYIB1ywxIugOM9CEWLGL3H154KY%3D&reserved=0list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fmidrange-l&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606286260&sdata=uED8z%2BopTNQTUHANzkuEAiWvZ39d3WqoN52LH4YymJg%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://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606286260&sdata=1troVK2vT8LbYvaqR8cJZHMOOoMn7oA8%2BIv8C47cR5I%3D&reserved=0link:
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fmidrange-l&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606296254&sdata=FSLb80KWCFXd2Cot8fNAzy7j3xF0b2%2B0NJRhJnaP4h4%3D&reserved=0list
--
Thanks and Regards,
Bruce
931-505-1915
--
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://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fmidrange-l&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606296254&sdata=v4sl57syG2oVB0Fbk4gGwSPhc6DiGGzY6K1TH%2FuINMQ%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://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606296254&sdata=839f78qJD4580Mdue3gKq2%2BXFi6hvYboJcV%2BSAnmaFE%3D&reserved=0questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fmidrange-l&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606296254&sdata=FSLb80KWCFXd2Cot8fNAzy7j3xF0b2%2B0NJRhJnaP4h4%3D&reserved=0--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://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fmidrange-l&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606296254&sdata=v4sl57syG2oVB0Fbk4gGwSPhc6DiGGzY6K1TH%2FuINMQ%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://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606296254&sdata=839f78qJD4580Mdue3gKq2%2BXFi6hvYboJcV%2BSAnmaFE%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://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fmidrange-l&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606296254&sdata=FSLb80KWCFXd2Cot8fNAzy7j3xF0b2%2B0NJRhJnaP4h4%3D&reserved=0
To subscribe, unsubscribe, or change list options,
visit:
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxxhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fmidrange-l&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606296254&sdata=v4sl57syG2oVB0Fbk4gGwSPhc6DiGGzY6K1TH%2FuINMQ%3D&reserved=0
Before posting, please take a moment to review the archives
at
.
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606296254&sdata=839f78qJD4580Mdue3gKq2%2BXFi6hvYboJcV%2BSAnmaFE%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:
--
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://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fmidrange-l&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606296254&sdata=FSLb80KWCFXd2Cot8fNAzy7j3xF0b2%2B0NJRhJnaP4h4%3D&reserved=0
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fmidrange-l&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606296254&sdata=v4sl57syG2oVB0Fbk4gGwSPhc6DiGGzY6K1TH%2FuINMQ%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:
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&data=02%7C01%7C%7C8159eac151aa4978535c08d7ed0380f9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637238471606296254&sdata=839f78qJD4580Mdue3gKq2%2BXFi6hvYboJcV%2BSAnmaFE%3D&reserved=0
--
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-2025 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.