<div dir="ltr">Unfortunately the problem hasn't gone. It has another nature.<br>- Midpoint tries to get shadow from Google resource right after its creation. So, at this moment shadow exists, but Midpoint tries to check its existence (Discovery)<br>- Midpoint receives ObjectNotFoundException and runs ObjectNotFoundHandler.discoverDeletedShadow()<br>- At the end this results in that Midpoint tries to create the object in resource again and gets ObjectAlreadyExistsException because the object was actually created in the very beginning.<br>- In result just created projection goes to dead state<br>- In audit log this process reflects in a Discovery record with fatal error as result<br><br>I think this happens because Midpoint tries to get created object too early. Or, probably, it is not a responsibility of Midpoint but of the connector.<br><br>Can this case be managed in resource configuration? What is the place responsible for managing this situation?<br><br>Guys, I really need help with this. <br>Thanks in advance,<br>J<br><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 18 Nov 2022 at 21:26, Yakov Revyakin <<a href="mailto:yrevyakin@gmail.com" target="_blank">yrevyakin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Graph connector has a phrase that to support discovery we must import Microsoft certificates.<br><div>In case of googleapps connector when I imported Google certificates the problem had gone.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 21 Oct 2022 at 20:23, Yakov Revyakin <<a href="mailto:yrevyakin@gmail.com" target="_blank">yrevyakin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Any suggestions?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 17 Oct 2022 at 20:18, Yakov Revyakin <<a href="mailto:yrevyakin@gmail.com" target="_blank">yrevyakin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<br><div>I'm playing with connector-gooogleapps.</div><div>I assign the resource to a user via a role assigned to an org with order=2 UserType inducement.</div><div>If I use Admin UI and enable reconcile option after clicking Save I can see, in the audit log report, that right after successful creation of a new Google account Midpoint starts Sync Discovery. During this stage Midpoint tries to create the account again and this stage goes down because of exception ObjectAlreadyExists. After that successfully created projection gets Dead status.</div><div>But, If I run reconciliation of a trusted CVS source, creation of an account is successful and there is no any Discovery after creation.</div><div>Could you advise how to manage this case and have alive accounts instead of dead using UI? </div><div><br></div><div>Tnx,</div><div>J </div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>