Import project from Spira instance wo AD to Spira instance w AD

Thursday, July 7, 2022
Avatar

Hello,

The company I work with has had two different instances of Spira, one hosted where all users set their own passwords (no AD connection) and one on-premise installation with AD connection. The usernames are the same in both, but obviously not the passwords.

Since the hosted instance was to be discontinued we exported the projects we needed to keep to prj-files. But when trying to import these to the AD-enabled instance, we get errors when trying to add users:

Could not add user '<USERNAME>'
[System.ServiceModel.FaultException`1[Inflectra.SpiraTest.Utilities.ProjectMigration.SpiraSoapService.ServiceFaultMessage]] Unable to create user - InvalidPassword

Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Inflectra.SpiraTest.Utilities.ProjectMigration.SpiraSoapService.ISoapService.User_Create(RemoteUser remoteUser, String password, String passwordQuestion, String passwordAnswer, Nullable`1 projectRoleId)
   at Inflectra.SpiraTest.Utilities.ProjectMigration.Thread_Import.stp05_Users()

 

My guess this is because the passwords doesn't match (I may very well be wrong here). If that is indeed the case, is there a way to remove the user passwords from the prj-file to make it "importable"?

Any help is appreciated!

2 Replies
Thursday, July 7, 2022
Avatar
re: fliljegren Thursday, July 7, 2022

It may actually be that the password complexity rules are the problem.

I would temporarily reduce all the complexity rules and then retry the import.

If that doesn't work, please log a support ticket.

Thursday, July 7, 2022
Avatar
re: inflectra.david Thursday, July 7, 2022

Thanks for the tip! Unfortunately that didn't help, so I will create a ticket.

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Thursday, July 7, 2022
  • Last Reply: Thursday, July 7, 2022
  • Replies: 2
  • Views: 550