I have an azure app service that pulls an image from azure ACR and fire up the image to run the application.
I would like the action that the app service pulling the image from ACR by service principle. My question is which resource should I assign the service principal to? The ACR or the web service?