azure function app connection string unable to add/remove/update
Unable to add/update/rename/delete function app connection string in env variable section.
I was able to add that before, I have contributor access.
Azure Functions
-
JananiRamesh-MSFT 28,871 Reputation points
2024-11-19T14:31:45.9866667+00:00 @Shinde,Mahesh Thanks for reaching out. Could you please verify the activity logs? Activity logs can provide detailed information about any actions taken on the resources, including changes to connection strings and environment variables. This can help identify if there were any policy restrictions or other issues that might have caused the problem.
Try updating the App settings using rest api and see if you're facing the same issue or use the “Advanced Edit” feature in the Connection Strings table which allows you to manually update a JSON representation of the connection string.
do let me know if the issue still persists, i would be happy to assist you.
-
Shinde,Mahesh 0 Reputation points
2024-11-19T15:03:36.1166667+00:00 I dont see anything specific policy added which is controlling this. Tried for advance edit, its not working as well.
-
JananiRamesh-MSFT 28,871 Reputation points
2024-11-19T15:41:24.1733333+00:00 @Shinde,Mahesh Thanks for the update, do you see any information from activity logs could you please share me the details here to investigate further to check the activity logs in the Azure portal by following these steps:
- Navigate to the Azure portal.
- Go to the Function App in question.
- In the left-hand menu, select Activity log.
- Review the logs for any relevant entries related to adding, updating, renaming, or deleting connection strings.
If there are any specific errors or warnings in the activity logs, they can provide valuable insights into what might be causing the issue.
-
Shinde,Mahesh 0 Reputation points
2024-11-19T15:48:59.7966667+00:00 -
JananiRamesh-MSFT 28,871 Reputation points
2024-11-19T16:04:19.7566667+00:00 @Shinde,Mahesh could you please expand the failed logs select and share me the screenshot ?
-
Shinde,Mahesh 0 Reputation points
2024-11-19T16:15:27.82+00:00 It is the same failed log which I have mentioned in my first comment
-
JananiRamesh-MSFT 28,871 Reputation points
2024-11-19T16:49:53.73+00:00 @Shinde,Mahesh Can you please refer to my private comment and share the details to assist you further
-
JananiRamesh-MSFT 28,871 Reputation points
2024-11-20T10:00:30.19+00:00 @Shinde,Mahesh Just a follow up to my previous comment and see if you can share the requested info. That would help in assisting you better
-
Shinde,Mahesh 0 Reputation points
2024-11-20T10:08:45.92+00:00 I have sent you the details, please check.
-
Deleted
This comment has been deleted due to a violation of our Code of Conduct. The comment was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
-
JananiRamesh-MSFT 28,871 Reputation points
2024-11-20T17:18:14.1866667+00:00 @Shinde,Mahesh Thanks for sharing the details, it looks like the issue might be with one of the parameters you're trying to save. Could you please test outside the portal using the below Rest API call directly?
The body of the request should include the connection strings you want to update. Here’s an example of the JSON payload:
{ "properties": { "MyConnectionString": { "value": "YourConnectionStringValue", "type": "SQLAzure" } } }
do try and let me know incase of further queries, I would be happy to assist you.
-
JananiRamesh-MSFT 28,871 Reputation points
2024-11-21T09:58:31.91+00:00 @Shinde,Mahesh Could you please let me know if you had a chance to try the suggestion in my above comment? Awaiting your reply.
-
Shinde,Mahesh 0 Reputation points
2024-11-21T10:02:35.49+00:00 tried and it didnt worked, gave the same error. How it is possible that one of the existing parameter has issue? I was able to work with it without any issue earlier.
-
JananiRamesh-MSFT 28,871 Reputation points
2024-11-22T16:37:05.6166667+00:00 @Shinde,Mahesh Just a follow up to see if you were able to create a ticket with our support team. If any help is needed, let me know.
Sign in to comment