When setting up a Portal group and choosing any other option of "How can people join this group?", there is a "Invite Members" button in Portal to add users to the group on the Overview page.
But when the "By being a member of a SAML group" is used for "How can people join this group?", that button goes away and there is no way to invite someone outside that SAML group.
Use case: Setting up Portal Groups for each organization department, but wanting to share content with someone from outside that department. For example, if I'm in "Information Technology" as my organizational department (SAML group), I can in no way join another department's group if they're based on SAML membership, and I can't invite anyone to the "Information Technology" group if they're in another department, much less using a built-in Portal account that isn't logging in with SAML.
As a Portal administrator, I should be able to join and access content of other groups.
Not only does the "Invite Members" button go away in Portal when set up as a SAML group, but it's not possible to add via the API, either:
File C:\PythonEnvs\arcgispro-py3-clone\Lib\site-packages\arcgis\gis\__init__.py, in add_users:
Line 10288: users_added = [
File C:\PythonEnvs\arcgispro-py3-clone\Lib\site-packages\arcgis\gis\__init__.py, in <listcomp>:
Line 10289: self._portal.add_group_users(
File C:\PythonEnvs\arcgispro-py3-clone\Lib\site-packages\arcgis\gis\_impl\_portalpy.py, in add_group_users:
Line 277: resp = self.con.post("community/groups/" + group_id + "/addUsers", postdata)
File C:\PythonEnvs\arcgispro-py3-clone\Lib\site-packages\arcgis\gis\_impl\_con\_connection.py, in post:
Line 1526: return self._handle_response(
File C:\PythonEnvs\arcgispro-py3-clone\Lib\site-packages\arcgis\gis\_impl\_con\_connection.py, in _handle_response:
Line 1001: self._handle_json_error(data["error"], errorcode)
File C:\PythonEnvs\arcgispro-py3-clone\Lib\site-packages\arcgis\gis\_impl\_con\_connection.py, in _handle_json_error:
Line 1024: raise Exception(errormessage)
Exception: Information Technology is linked to an enterprise group. All membership changes must be done through the enterprise identity store.
(Error Code: 405)
---------------------------------------------------------------------------