Hello,
I am creating a FileBasedProject based on a template. The template references a cloud-based TM. When I try to run the task sequence via the Studio API, I get the following error:
Unexpected exception when initializing task 'Analyze Files': Authentication failed for translation provider 'languagecloud.translation.https://671a3cbd5ba2d5774df8cd41/?SmartLookupEnabled=False&ProfileName=General%2b-%2bTranslation%2bEngine'..
I added the following code. Unfortunately, I cannot get the authentication to work. I copied the URI directly from the template file. We log in via SSO.
// Add credentials newProject.Credentials.AddCredential(new Uri(“languagecloud.translation.https://671a3cbd5ba2d5774df8cd41/?SmartLookupEnabled=False&ProfileName=General%2b-%2bTranslation%2bEngine”), true, “user”, “password”);
Is this the right way to do it? Does a domain have to be specified for the user? If so, in what form? “domain\user” has not worked so far.
Thank for your help.
-
[edited by: André at 1:45 PM (GMT 1) on 9 May 2025]