<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>I did have a similar issue, it appeared to me that the paging
that was implemented in the connector wasn't compatible with the
current paging behavior of the MS Graph API. I altered the paging
to work with our tenant's current version of the MS Graph API, the
way I did it loops through all available pages for the query
before processing the objects, which may not be ideal in really
large tenants, but it got things working for me.</p>
<p>I've forked that at the below URL. If it addresses the issue for
you as well, then I'll prepare a pull request to see about adding
that in. I also added a configuration item for pagesize.<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/ekromhout/connector-microsoft-graph-api">https://github.com/ekromhout/connector-microsoft-graph-api</a></p>
<p>I also found a change that I needed for group processing. I'll
write up a separate thread on that to see if anyone else has that
issue too, it is different enough from this problem that I don't
think it should be in the same pull request.</p>
<p>Thanks,</p>
<p>Ethan<br>
</p>
<div class="moz-cite-prefix">On 12/14/20 5:55 AM, Laza, Javier via
midPoint wrote:<br>
</div>
<blockquote type="cite" cite="mid:CH2PR10MB402399E6D99FE530B2F2B204EAC70@CH2PR10MB4023.namprd10.prod.outlook.com">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hey I finally made this work, I had to
create the App Registration manually and give it read user
permissions over the Graph API<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But know, I see the connector is only able
to pull 100 users, no more. Had you or anyone else faced this
issue?<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> midPoint
<a class="moz-txt-link-rfc2396E" href="mailto:midpoint-bounces@lists.evolveum.com"><midpoint-bounces@lists.evolveum.com></a> <b>
On Behalf Of </b>Richard Richter via midPoint<br>
<b>Sent:</b> viernes, 11 de diciembre de 2020 10:32<br>
<b>To:</b> midPoint General Discussion
<a class="moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com"><midpoint@lists.evolveum.com></a><br>
<b>Cc:</b> Richard Richter <a class="moz-txt-link-rfc2396E" href="mailto:virgo@evolveum.com"><virgo@evolveum.com></a><br>
<b>Subject:</b> Re: [midPoint] Microsoft graph api
connector<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Hello<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">What
problem did you encounter during the build? I just
cloned the repo, set JAVA_HOME to JDK 11 and ran:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><strong><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">mvn
clean package</span></strong><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">It
all built nicely. What is your error message?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Regards<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Richard
Richter<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">midPoint
developer<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div class="MsoNormal" style="text-align:center"
align="center"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">
<hr id="zwchr" width="100%" size="2" align="center">
</span></div>
<div>
<p class="MsoNormal"><b><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">From:
</span></b><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">"midPoint
General Discussion" <<a
href="mailto:midpoint@lists.evolveum.com"
moz-do-not-send="true">midpoint@lists.evolveum.com</a>><br>
<b>To: </b>"midPoint General Discussion" <<a
href="mailto:midpoint@lists.evolveum.com"
moz-do-not-send="true">midpoint@lists.evolveum.com</a>><br>
<b>Cc: </b>"Laza, Javier" <<a
href="mailto:Javier.Laza@ingrammicro.com"
moz-do-not-send="true">Javier.Laza@ingrammicro.com</a>><br>
<b>Sent: </b>Friday, December 11, 2020 10:10:15 AM<br>
<b>Subject: </b>Re: [midPoint] Microsoft graph api
connector<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Hey guys,
could you share the jar file?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">I could not
built it myself<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Regards,<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span
style="color:black"> midPoint <<a
href="mailto:midpoint-bounces@lists.evolveum.com"
moz-do-not-send="true">midpoint-bounces@lists.evolveum.com</a>>
<b>On Behalf Of </b>Paulo Fernandes de Souza Junior
via midPoint<br>
<b>Sent:</b> lunes, 9 de noviembre de 2020 16:11<br>
<b>To:</b> midPoint General Discussion <<a
href="mailto:midpoint@lists.evolveum.com"
moz-do-not-send="true">midpoint@lists.evolveum.com</a>><br>
<b>Cc:</b> Paulo Fernandes de Souza Junior <<a
href="mailto:PFSJ@senado.leg.br"
moz-do-not-send="true">PFSJ@senado.leg.br</a>><br>
<b>Subject:</b> Re: [midPoint] Microsoft graph api
connector<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Thank
you, Ethan. I just built it too.<o:p></o:p></span></p>
<p><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<div id="Signature">
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"
style="margin-bottom:12.0pt"><b><span
style="font-size:10.0pt;font-family:"Times
New Roman",serif;color:#1F497D">Paulo
Fernandes de Souza Júnior</span></b><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif;color:black">
<br>
</span><b><span
style="font-size:8.0pt;font-family:"Times
New Roman",serif;color:#1F497D">NQPPPS<br>
</span></b><span
style="font-size:8.0pt;font-family:"Times
New Roman",serif;color:#17365D">Senado
Federal -
</span><span
style="font-size:8.0pt;font-family:"Times
New Roman",serif;color:#1F497D">PRODASEN<br>
</span><span
style="font-size:8.0pt;font-family:"Times
New Roman",serif;color:#17365D">Fone:
61 3303.3924</span><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"></span><span
style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span><span
style="color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div class="MsoNormal" style="text-align:center"
align="center"><span
style="font-size:12.0pt;color:#212121">
<hr width="98%" size="2" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">De:</span></b><span
style="color:black"> midPoint <<a
href="mailto:midpoint-bounces@lists.evolveum.com"
target="_blank" moz-do-not-send="true">midpoint-bounces@lists.evolveum.com</a>>
em nome de Ethan Kromhout via midPoint <<a
href="mailto:midpoint@lists.evolveum.com"
target="_blank" moz-do-not-send="true">midpoint@lists.evolveum.com</a>><br>
<b>Enviado:</b> segunda-feira, 9 de novembro de 2020
11:11<br>
<b>Para:</b> <a
href="mailto:midpoint@lists.evolveum.com"
target="_blank" moz-do-not-send="true">midpoint@lists.evolveum.com</a><br>
<b>Cc:</b> Ethan Kromhout<br>
<b>Assunto:</b> Re: [midPoint] Microsoft graph api
connector</span><span
style="font-size:12.0pt;color:#212121">
</span><span style="color:black"><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:#212121"> </span><span
style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div>
<p><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#212121">Here
is the source link, I don't know that I've seen a
binary distribution, but it builds okay for me.</span><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#212121"> </span><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#212121">Thanks,</span><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#212121"> </span><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#212121">Ethan</span><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#212121"> </span><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#212121"><a
href="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="
target="_blank" moz-do-not-send="true">https://github.com/Evolveum/connector-microsoft-graph-api</a></span><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#212121"> </span><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#212121"> </span><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:#212121">On 11/9/20
8:43 AM, Paulo Fernandes de Souza Junior via
midPoint wrote:</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
<p><span style="font-size:7.5pt;color:black"><br>
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 <a
href="mailto:nuevascuentas@ingrammicro.es"
moz-do-not-send="true">
nuevascuentas@ingrammicro.es</a>. 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.<br>
.................................................................................................................................................................................................................................................<br>
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:
<a href="mailto:nuevascuentas@ingrammicro.es"
moz-do-not-send="true">nuevascuentas@ingrammicro.es</a>.
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.<br>
</span><span style="font-size:7.5pt;color:white">[Ingram_2818e5de]</span><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><br>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com"
moz-do-not-send="true">midPoint@lists.evolveum.com</a><br>
<a
href="https://lists.evolveum.com/mailman/listinfo/midpoint"
moz-do-not-send="true">https://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></span></p>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
</body>
</html>