You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You want to update the example as WS-trust authentication is deprecated to:
(Online - use oAuth and XrmTooling Ui by providing your UPN and the enviroment url)
connect-crmonline -Username "[email protected]" -ServerUrl .crm.dynamics.com -ForceOAuth
The text was updated successfully, but these errors were encountered:
Hi @2ATCaroline thanks for the suggestion! I was under the impression the XRM Tooling powershell connector library would default to oAuth but it looks like that might not be the case. I was thinking as an alternative we could ship an update that defaults to ForceOAuth for connect-CrmOnline.
@MattB-msft - is there a graceful way now (in the latest update) to have the module attempt using oAuth and fallback to WS-Trust if it fails? Right now we're using a connectionstring to ensure consistent behavior of the connector but defaulting to WS-Trust. Can we change this to have a "try oAuth and fallback" or is this something we should attempt to handle within the module?
You want to update the example as WS-trust authentication is deprecated to:
(Online - use oAuth and XrmTooling Ui by providing your UPN and the enviroment url)
connect-crmonline -Username "[email protected]" -ServerUrl .crm.dynamics.com -ForceOAuth
The text was updated successfully, but these errors were encountered: