In order to fix this error you need to configure some permissions of azure active directory and grant access to key vault.
To do that using Azure portal follow these steps :
1. Open key Vault
2. Select Access Policies from key vault bar.
3. Click on Add Access Policy.
4. Select Principal to select your application.
5. From key permissions drop down menu, select 'Decrypt','Sign','Get','UnwrapKey' permissions.
6. Save the changes
I hope this will work for you.
Want to know more about Azure? Join azure certification now !