There is az staticwebapp backends unlink command to unlink the static web app from the Azure Function app but this leaves the static web app linked still in the Azure Function's Authentication > Identity Provider section. This prevents linking a new static web app to the Azure Function.

What az cli command can remove this linked identity provider?

1

There are 1 best solutions below

3
On

[Updated] To remove an existing custom OpenID Connect identity provider, you can use:

az webapp auth openid-connect remove