[midPoint] Microsoft graph api connector

Laza, Javier Javier.Laza at ingrammicro.com
Fri Dec 11 13:23:27 CET 2020


Hi! Thanks for your response

I was finally able to built it. I tried with “mvn package” and it returned some error I could not understand, so I executed it again with the -e flag to see the trace of the errors and it just worked, I don’t know why hahahha

However, I restarted midpoint and created the resource manually. I created the Service Principal as explained here https://wiki.evolveum.com/pages/viewpage.action?pageId=15433819

After that, the connector seems to be fine because it passes the Test Resource, and also, I am able to see the list of users in accounts -> resource, BUT when I try to access to one of those accounts I get the following error:
PermissionDeniedException(HTTP error 403 Forbidden : {??  "error": {??    "code": "AccessDenied",??    "message": "Either scp or roles claim need to be present in the token.",??

Obviously looks like a permission error, I am afraid the above guide I followed does not apply to this connector but to the o365connector. Also the connector parameters in that guide does not match at all with the ones that I see in the Graph API connector
[cid:image002.png at 01D6CFC0.CCC82EB0]  VS  [cid:image003.png at 01D6CFC0.CCC82EB0]

Regards,

Javier Laza
Cloud Security Operations
Plaza de Manuel Llano, Santander, Spain, 39011

[cid:image001.jpg at 01D6CFC0.9615A640]
Twitter<http://bit.ly/IngramTwitter> | LinkedIn<http://bit.ly/IngramLinkedIN> | Facebook<http://bit.ly/IngramFacebook> | YouTube<http://bit.ly/IngramYouTube>

This email may contain material that is confidential, and proprietary to Ingram Micro and subsidiaries, for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

From: midPoint <midpoint-bounces at lists.evolveum.com> On Behalf Of Richard Richter via midPoint
Sent: viernes, 11 de diciembre de 2020 10:32
To: midPoint General Discussion <midpoint at lists.evolveum.com>
Cc: Richard Richter <virgo at evolveum.com>
Subject: Re: [midPoint] Microsoft graph api connector

Hello

What problem did you encounter during the build? I just cloned the repo, set JAVA_HOME to JDK 11 and ran:
mvn clean package

It all built nicely. What is your error message?

Regards

Richard Richter
midPoint developer

________________________________
From: "midPoint General Discussion" <midpoint at lists.evolveum.com<mailto:midpoint at lists.evolveum.com>>
To: "midPoint General Discussion" <midpoint at lists.evolveum.com<mailto:midpoint at lists.evolveum.com>>
Cc: "Laza, Javier" <Javier.Laza at ingrammicro.com<mailto:Javier.Laza at ingrammicro.com>>
Sent: Friday, December 11, 2020 10:10:15 AM
Subject: Re: [midPoint] Microsoft graph api connector

Hey guys, could you share the jar file?

I could not built it myself

Regards,

From: midPoint <midpoint-bounces at lists.evolveum.com<mailto:midpoint-bounces at lists.evolveum.com>> On Behalf Of Paulo Fernandes de Souza Junior via midPoint
Sent: lunes, 9 de noviembre de 2020 16:11
To: midPoint General Discussion <midpoint at lists.evolveum.com<mailto:midpoint at lists.evolveum.com>>
Cc: Paulo Fernandes de Souza Junior <PFSJ at senado.leg.br<mailto:PFSJ at senado.leg.br>>
Subject: Re: [midPoint] Microsoft graph api connector


​Thank you, Ethan. I just built it too.


Paulo Fernandes de Souza Júnior
NQPPPS
Senado Federal - PRODASEN
Fone: 61 3303.3924

________________________________
De: midPoint <midpoint-bounces at lists.evolveum.com<mailto:midpoint-bounces at lists.evolveum.com>> em nome de Ethan Kromhout via midPoint <midpoint at lists.evolveum.com<mailto:midpoint at lists.evolveum.com>>
Enviado: segunda-feira, 9 de novembro de 2020 11:11
Para: midpoint at lists.evolveum.com<mailto:midpoint at lists.evolveum.com>
Cc: Ethan Kromhout
Assunto: Re: [midPoint] Microsoft graph api connector


Here is the source link, I don't know that I've seen a binary distribution, but it builds okay for me.



Thanks,



Ethan



https://github.com/Evolveum/connector-microsoft-graph-api<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Evolveum_connector-2Dmicrosoft-2Dgraph-2Dapi&d=DwMFAw&c=--1RjWWBW4Kf6aBAaj53vPItwfT0BR1YjSDV46P5EvE&r=0OeKN_TS34QS-SJXC_YJThvidGwk12Q2O3mVC4v6a-g&m=hz2iVikVRtAwPtIhxPeO-LIHYjfqoVEkhHqfqWnVgXg&s=8R0Z9BsSF8VCFA3Mk3KqqjIrl6Pgm-jh3qMagZZwqUg&e=>




On 11/9/20 8:43 AM, Paulo Fernandes de Souza Junior via midPoint wrote:

La información contenida en este mensaje es confidencial. En caso de que reciba este mensaje por error le rogamos lo comunique a la mayor brevedad al emisor y proceda a su eliminación definitiva, absteniéndose de copiar, almacenar o difundir su contenido. De acuerdo con lo establecido en la Ley Orgánica 15/1999, de Protección de Datos de Carácter Personal y en el Reglamento de Desarrollo 1720/2007, los datos personales que facilite a través de la dirección de correo indicada serán incorporados a un fichero titularidad de INGRAM MICRO, S.L.U., con domicilio en C/ Antonio Machado, 78-80 1ª y 2ª pl. Business Park ( 08840-Viladecans). Mediante el envío de sus datos, Ud. otorga su consentimiento expreso a INGRAM MICRO, S.L.U, para el tratamiento de sus datos, con la finalidad de atender a su consulta y/o mantener la relación profesional, comercial, y/o contractual que en su caso establezca con INGRAM MICRO, S.L.U. Puede ejercitar sus derechos de acceso, rectificación, cancelación y oposición notificándolo por escrito a la dirección del remitente, o a la siguiente dirección de correo nuevascuentas at ingrammicro.es<mailto:nuevascuentas at ingrammicro.es>. De acuerdo con la Ley 34/2002, de Servicios de la Sociedad de la Información y de Comercio Electrónico, Vd. podrá oponerse en cualquier momento al tratamiento de sus datos con fines promocionales notificándonoslo por escrito a la dirección de correo mencionada.
.................................................................................................................................................................................................................................................
The information contained in this message is confidential. If you receive this message by error please notify it as soon as possible to the sender and proceed to their final elimination by not copy, store or distribute its content. In accordance of what is stated in the Law 15/1999, of Data Personal Protection and Regulation Rule 1720/2007, the personal data provided through the email address you entered will be included in a file owned by INGRAM MICRO, SLU, located at C/ Antonio Machado, 78-80 1ª y 2ª pl. Business Park ( 08840-Viladecans). By submitting your data, you expressly give your consent to INGRAM MICRO, SLU, to the treatment of your data, in order to answer to your questions and / or keep the professional, commercial relationship  and / or contractual set with INGRAM MICRO, SLU You can exercise your rights of access, rectification, cancellation and opposition by giving written notification to the sender address or to  the following email:  nuevascuentas at ingrammicro.es<mailto:nuevascuentas at ingrammicro.es>. According to Law 34/2002, of the Information Society and Electronic Commerce, you may object at any time to your data treatment for promotional purposes by notifying us in writing to the email address above.
[Ingram_2818e5de]

_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com<mailto:midPoint at lists.evolveum.com>
https://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20201211/d7647eed/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2057 bytes
Desc: image001.jpg
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20201211/d7647eed/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 15524 bytes
Desc: image002.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20201211/d7647eed/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 29011 bytes
Desc: image003.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20201211/d7647eed/attachment-0003.png>


More information about the midPoint mailing list