I am trying to delete an openID connect login that was previously setup but I simply get this error. There are no logs pertaining to this either.
I am in ArcGIS Enterprise 11.0 and support has not been any help so far. Any assistance is greatly appreciated as I cannot find any information for this error whatsoever.
I would double-check if there are any users in your Portal that belong to that OpenID Connect provider. If so, that is why it cannot be deleted. All users from that OIDC provider need to be deleted first before you can delete the whole thing. The error message should definitely be updated to reflect that.
Thank you, Jeff. I asked the support analyst the same question, i.e., if all the users need to be deleted before and the answer was no.
The documentation does not say this either. I will try this in a dev environment. An enhancement to the error message and documentation would be very helpful in such instances.
I am having the same issue. I went throught he Sharing API and tried there using this URL: https://dnsname.com/portal/sharing/rest/portals/0123456789ABCDEF/oidc/Ej271aNSub40Wb9Q/unregister
and got the following error:
Error: 400
Question: How can I find out which users are linked to this provider?
Thanks,
Marc
Ah I see that each user at this URL: https://dnsname.com/portal/sharing/rest/community/users/username?f=pjson
has an attribute:
"provider": "oidc_Ej271aNSub40Wb9Q",
which you can query.