LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Azure Authentication Prompt Appears Everytime Executable is Started

Hi all. I'm using an Azure cloud SQL DB for a LabVIEW application built to an .exe. The only 2 UDL options that connect to my DB are "Active Directory - Password" which is a non-starter because it stores the password in plaintext, and Active Directory - Universal with MFA Support. 

 

The problem I'm having with Universal/MFA support is that it prompts for the Azure authentication (see attached image) everytime the built .exe is started. It does NOT do this when the project's startup VI is launched from within its LabVIEW project. Assuming that I can't change anything on the cloud/DB side, is there anything I can do within LabVIEW to prevent the Azure authentication window from appearing every time the .exe is started? 

 

Thanks in advance for any assistance. 

0 Kudos
Message 1 of 2
(158 Views)

I wouldn't consider this an "answer" to the question until I'm able to verify it myself, but there is a decent-looking answer to the same question I posted on Stack Overflow. Unfortunately I didn't have permissions to launch the powershell script in the answer, so I'm still stuck on this problem until I can get together with IT and Security to make this work. 

0 Kudos
Message 2 of 2
(54 Views)