1

Unable to use Bentley IMS login

In the help docs it specifies the following "On the Clarity Task Server, we have begun to support Bentley IMS Accounts"; however when updating the task server configuration to activate the "Use ProjectWise IMS Login" option, it fails to login with IMS and attempts a user/password login.

Perhaps this is due to the web server settings that do not appear to have a method to disassociate a logical account from the web server project authorization settings, there are only options for user/password credentials. Any new project created will use the default setting and attempting to add a credential without a password does not result in IMS account login being utilised

2 replies

Ed,

if you have the option set to Use ProjectWise IMS login on the task server (and the Bentley Connection Client is signed in), it should just always prefer that over the web credentials that were specified.

that said: what kind of task are you trying? If it is something that runs in the Windows Task Server, there’s another nuance: You can’t run the Windows Task Server as a service and have it do an IMS login (because the IMS login is tied to an interactive Windows Session). So in that case you have to set up the Windows Task Server to run interactively instead. Let me know if that’s your situation.

E

Ah perhaps that is the reason... just FYI you can trick connection client into working correctly on session 0 if you start a separate instance and there is already an authenticated instance running on the interactive user session, however if done incorrectly that can cause a bunch of problems.

For this test case I tried running the "UnifiedSync" tool however it did not login correctly, perhaps due to running in the Clarity WinService on session 0 without an accessible Connection Client instance due to running in a different context.

Let me know if I need to configure things differently here to get it working properly, I'm curious as to the methods required to setup the service in the interactive session, and I'd also be interested to learn more about your authentication methods and/or share some of our auth code as well if you're interested.

Thanks,

Ed

Ed,

would be very interested in sharing authentication methods.

the Support team has a document on this, but the quick version is try stopping the service and running the Windows Task Server executable directly instead, and see if it does the IMS login instead.

Matt

E

That makes sense - verified it is working properly now in the user session, thanks Matt!