Here's a more detailed explanation of how to add an Azure AD action to the Logic App that updates the Snowflake access token in the appropriate Azure AD application:
In the Logic App designer, add a new action after the Parse JSON action that extracts the new access token from the Snowflake API response.
Search for "Azure AD" in the search bar and select the appropriate action for your use case. For example, if you want to update the Snowflake access token in an Azure AD application, you can use the "Update application" action.
Configure the Azure AD action by providing the appropriate inputs. For example, you may need to specify the Azure AD application ID and the new Snowflake access token as inputs to the action.
Save the Logic App and test it to ensure that it works as expected.
The exact steps for configuring the Azure AD action will depend on the specific action you choose and the inputs it requires. However, the general process should be similar for most Azure AD actions.
Keep in mind that you'll need to have appropriate permissions and access to the Azure AD application in order to update its properties. You may also need to set up authentication and authorization for the Azure AD action, depending on the action you choose.
I hope this helps! Let me know if you have any further questions.