After creating a shrepoint list entry, we create a team. This works 100%. Then we add the admin as member with ownership (team owner = true). This works 100%.
Then we run the same function two times again, adding members as owner. So we have 3 times adding member as owner.
The first one runs 100% everytime. The second and third only work sporadically. Sometimes both not work, sometimes one of them, sometimes both work.
The error is always "404 Could not find resource".
We tried with UPN (E-Mail) and object ID from Entra.
Really annoying, using an automate product, to fix it in nearly every run by adding owners manually.