Set Connection Status To Unauthenticated(Preview)

Template ID: setconnectionstatustounauthenticated

Sets connection status to unauthenticated on specified HTTP status code. This template is available in Power Apps and Power Automate.

In this article

This template must be used in conjungtion with a test connection which, along with the template, will set the connection status to un-authenticated in case there is a specific HTTP status code like 401.

Input Parameters

Name Key Required Type Description
HTTP status code x-ms-apimTemplateParameter.statusCode True Integer HTTP status code on which connection status will be set to unauthenticated.
Operations x-ms-apimTemplate-operationName Array List of actions and triggers to which the policy will apply to. If no operation is selected, this policy will apply to all operations.