Hi There,
I have set up some code to be able to add a single user to multiple groups in arcgis online. This works fine when using the add_users() method for an internal user but when I try to do it for an external user with the invite_users() method it returns the value 'True' but it doesn't actually do anything. I have sent invitations to the same user using the button on the group page so the user and group are setup correctly.
DeirdreSmyth_0-1720188707268.png
Resolved this issue but putting the username into an array so it should be userN = ['username'] and then this is accessed in the subsequent code by userN[0]