Was trying to edit the connection using managed identity authentication. Switched to SQL Server authentication and then I was able to change the database name.
How to switch the database for a sql server api connection on Logic Apps?
I have a SQL Server API connection that is used by my logic app. For some of the actions, it lets you pick "Use Connection Settings" for the Database Name. I'd like to swap what database we're using by just changing the database name in the connection, but I haven't found a way to do that. Is this possible or will I need to find another solution like creating a whole new api connection and deleting the old one.
2 answers
Sort by: Most helpful
-
-
LeelaRajeshSayana-MSFT 13,456 Reputation points
2024-03-28T21:06:19.19+00:00 Hi @Clay Casper I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .
Issue:
I have a SQL Server API connection that is used by my logic app. I'd like to swap what database we're using by just changing the database name in the connection.
Solution:
Changing the mode of authentication from Managed Identity to SQL server authentication provided me a way to change the connection.
If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.
I hope this helps!
If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.