To resolve the [invalid_token_response] error in Azure Web App, change the DNS zone option in the networking section from 'Custom' to 'Default' (Azure provided).