Created a trial Azure account and added a Bing Search v7 resource.
While using Microsoft.Azure.CognitiveServices.Search.WebSearch on my client (web app) to hit the API, I get Unauthorized errors although I'm using the keys provided from the portal.
Exact error:401 Client Error: PermissionDenied for url: https://api.cognitive.microsoft.com/bing/v7.0/search?q=python&textDecorations=True&textFormat=+HTML