Skip to main content

We are trying to implement Teams integration for one of our clients using the Service Principal due to the active MFA on their accounts.

Can someone who has already done this integration give us some more information regarding the certificate to use?
We have provided our client with the following documentation but they are having some difficulty in providing the certificate.

https://wiki.axiossystems.com/assyst11-7Wiki/index.php/Integrations:Deploying_the_assyst_Virtual_Agent

https://learn.microsoft.com/en-us/entra/identity-platform/howto-create-service-principal-portal#option-1-recommended-upload-a-trusted-certificate-issued-by-a-certificate-authority

Hello, 

I’ve discussed with our Development team and they have provided the following response.

The SPN is used for the installation, to workaround MFA.  For this purpose a self signed cert 
should be ok to use.

The easiest way is to use the Azure CLI: az ad sp create-for-rdac --name <spn-name> --create-cert

Docs can be found at:

https://learn.microsoft.com/en-us/cli/azure/azure-cli-sp-tutorial-3

https://learn.microsoft.com/en-us/cli/azure/azure-cli-sp-tutorial-1?tabs=bash


Hi Robert,
Thank you for your answer. Finally the customer was able to provide us with the certificate.

We tried to deploy following the instructions on the wiki page, but the installation took less than a minute and although it ended with the message "Installation completed successfully", we found nothing in the customer's Azure subscription.

 

Below you can find the installation logs:

2024-05-10 16:04:46 INFO com.axiossystems.assyst.installer.Installer Starting Installer
2024-05-10 16:04:46 INFO com.axiossystems.assyst.installer.Installer Java Version: 1.8.0_345
2024-05-10 16:04:46 INFO com.axiossystems.assyst.installer.Installer Java Home: C:\Program Files\Eclipse Adoptium\jdk-8.0.345.1-hotspot\jre
2024-05-10 16:04:46 INFO com.ifs.assyst.version.BuildVersion Installer, Version: 11.7.0 (12708), Built on: Sep 19, 2023 2:56:00 PM
2024-05-10 17:18:24 WARNING com.axiossystems.assyst.installer.i18n.Localisation No translation data found for key: btn.pause
2024-05-10 17:18:24 INFO com.axiossystems.assyst.installer.util.Progress Preparing temporary folder...
2024-05-10 17:18:24 INFO com.axiossystems.assyst.installer.util.Progress Temporary folder ready.
2024-05-10 17:18:24 INFO com.axiossystems.assyst.installer.util.Progress Checking dependencies...
2024-05-10 17:18:25 INFO com.axiossystems.assyst.installer.util.Progress pwsh is installed on the Command Line.
2024-05-10 17:18:25 INFO com.axiossystems.assyst.installer.util.Progress az is installed on the Command Line.
2024-05-10 17:18:26 INFO com.axiossystems.assyst.installer.util.Progress python is installed on the Command Line.
2024-05-10 17:18:32 INFO com.axiossystems.assyst.installer.util.Progress PowerShell Module: Az
2024-05-10 17:18:37 INFO com.axiossystems.assyst.installer.util.Progress PowerShell Module: Az.BotService
2024-05-10 17:18:37 INFO com.axiossystems.assyst.installer.util.Progress Dependency check complete.
2024-05-10 17:18:37 INFO com.axiossystems.assyst.installer.util.Progress Logging in to Azure...
2024-05-10 17:18:44 INFO com.axiossystems.assyst.installer.util.Progress Login completed.
2024-05-10 17:18:44 INFO com.axiossystems.assyst.installer.util.Progress Extracting zip file...
2024-05-10 17:18:47 INFO com.axiossystems.assyst.installer.util.Progress Deploying bot on Azure. This will take several minutes...
2024-05-10 17:18:47 INFO com.axiossystems.assyst.installer.util.Utils Updating file: C:\Axios\Media\assystWeb11.7.0\Setup\assystInstaller\conf\resources\assystVATemp\va\app\src\appsettings.json
2024-05-10 17:18:47 INFO com.axiossystems.assyst.installer.util.Utils Updating file: C:\Axios\Media\assystWeb11.7.0\Setup\assystInstaller\conf\resources\assystVATemp\va\app\src\appsettings.json
2024-05-10 17:18:56 INFO com.axiossystems.assyst.installer.util.Progress Creating resource group...
An error occured.  Review the logs for details.
True

2024-05-10 17:18:56 INFO com.axiossystems.assyst.installer.util.Progress Log files have been moved from "C:\Axios\Media\assystWeb11.7.0\Setup\assystInstaller\conf\resources\assystVATemp\va\deployment" to "C:\Axios\Media\assystWeb11.7.0\Setup\assystInstaller\log\bot-logs\1715354336195".
2024-05-10 17:18:56 INFO com.axiossystems.assyst.installer.util.Progress Installation completed successfully
2024-05-10 17:18:56 INFO com.axiossystems.assyst.installer.util.Progress Time to install: 00:31
2024-05-10 17:19:15 INFO com.axiossystems.assyst.installer.util.Utils Cleaning up temporary directory

 

Could you help us understand what we did wrong?
Any suggestions from anyone are welcome!

 

Thanks a lot

Asen


We have the same problem with this installer part.

2024-05-10 17:18:56 INFO com.axiossystems.assyst.installer.util.Progress Creating resource group...
An error occured.  Review the logs for details.

But, I was able to create the Resource group via az command. Looks like some problem with the installer.

 


Reply