Could someone please help to create Service Principal in the Azure playground
I’ve verified that at least in the narrow sense of your request, you can create a service principle. I have no idea if it’s possible to actually assign enough rights to the SP for this to be useful in our playgrounds – I don’t have enough background in Azure to answer your question in more detail.
I’m asking our content engineers if anyone can answer your question with more detail than that; we’ll see what they come up with.
I’ve asked one of our guru engineers about this. Here’s what he says:
Please direct the user to the Terraform with Azure Playground
This Azure + Terraform playground connects to the existing Azure environment and includes an additional service principal for various operations. Note that this service principal carries the same permissions as the user initiating the session.
Refer to this Loom video for guidance on locating the service principal credentials, along with a sample working example:
Playground - Terraform with Azure | KodeKloud