Step1: Create App Registration
Step2: Go to API Permission, Click on "+ Add a permission", Select Azure Key Vault
Step3: Select Delegated permissions and check user_impersonation
Step4: Click on "Grant admin consent for Default Directory"
This Secret will be used in C# for retrieve Key Vault Value
Select "Vault Access Policy" as Permission Model
Click next, next and Create. Once deployment is completed click on "Go to Resource"
Step7: Click on Access Policies and Create
Select "Key & Secret Management"
Select App Registration(AppRegistration for Key Vault) which is created in Step1
Click Next and Create Key Vault
Step8: Create Secret for Key Vault