The key vault and certificate are required for webhook configuration.
How to add a certificate to Key-Vault https://docs.microsoft.com/en-us/azure/key-vault/certificates/quick-create-portal
Where is it configured?
Login with to https://portal.azure.com
In the search field type key vault and choose the relevant one
Click on Certificates
Click on the certificate (agatsaasagatsolutions in this example)
Click on the current version
Download the certificate in PFX format
Go to “App Registration”
Choose your app
Click “Certificates & Secrets” - “Certificates” - “Upload”
Upload the certificate you’ve downloaded from Key Vault
Go back to Key Vault certificate (section 6) and take tha value from “Secret Identifier” till the level after “secret”. example: https://agatkeyvaultproduction.vault.azure.net/secrets/agatsaasagatsolutions
Copy this value to AdminPortal config file (C:\Inetpub\AccessPortal\configuration) and CasbAdapter config file (C:\Agat\CasbAdapter\X\Configuration) in here: <add key="WebhookCertificateUrl" value="https://agatkeyvaultproduction.vault.azure.net/secrets/agatsaasagatsolutions" />
11. Save the files. Restart IIS and CasbAdapter service.
12. Look in CasbAdapter log for “Subscription” - need to see a successful creation of subscription