1. Create the token
Create a single-tenant Microsoft Entra application and client secret. Grant Reader only on each allowed subscription for guided discovery, then grant App Service configuration read/list/write on each selected app and Key Vault secret metadata-list/set on each selected vault. Do not grant Owner, Contributor, secret get, delete or purge.