Better messaging for cases when organization in "admin-only" mode
When organization is in admin-only mode the response we get is a little bit cryptic. I would expect some distinct message
Microsoft.PowerPlatform.Dataverse.Client.Utils.DataverseConnectionException: Failed to connect to Dataverse System.AggregateException: One or more errors occurred. (The HTTP request was forbidden with client authentication scheme 'Anonymous'.) System.ServiceModel.Security.MessageSecurityException: The HTTP request was forbidden with client authentication scheme 'Anonymous'. at Microsoft.PowerPlatform.Dataverse.Client.ConnectionService.InitServiceAsync()
Yes, we have a backlog item with the API team to help provide a bit more context as to what is going on. I will ask the team to check into where that is in the queue.
Once the API team adds in server side support for it, it should just appear as the exception explanation
Folks, we have a partial solution to this problem delivered onto our servers now and are bringing those updates into the Dataverse ServiceClient in the next update (post 1.0.26)
In the next Client release, I will show up as either a Dataverse connection exception or an Operation Exception with a message indicating admin mode,
This is a partial fix right now, does not show correctly during operation, IE after a connection the server is placed into admin mode. The full fix has been identified and is being worked.
We will keep this open until we have the full fix delivered
This should now be fixed correctly in the platform all up.