laptop and a wrench

Bug

Unable to manually add a SAML user as an organization login to ArcGIS Online when the IDP username contains an apostrophe.

ArcGIS Online
Bug ID Number BUG-000159030
SubmittedJune 12, 2023
Last ModifiedSeptember 26, 2024
Applies toArcGIS Online
Version foundFebruary 2023
Operating SystemWindows OS
Operating System VersionN/A
StatusIn Review

Workaround

Turn on automatic account creation for SAML logins in the organization and have the user sign up using this option.

Add the user manually with the ArcGIS API for Python with the gis.user.create() method, and set the idp_username parameter manually:

user1 = gis.users.create(username = 'test_user@domain.com_org_url_key',

               password = 'password',

               firstname = 'User',

               lastname = 'Test',

               email = 'test_user@domain.com',

               role = 'Viewer',

               idp_username = "test'user@domain.com",

               user_type = 'Viewer',

               provider = 'enterprise')

Steps to Reproduce

Bug ID: BUG-000159030

Software:

  • ArcGIS Online

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options