Can I use azure Bing Search resource with managed identity authentication?

Ameer Muslih 30 Reputation points Microsoft Employee
2024-02-25T13:34:39.0666667+00:00

Hey,
I'm trying to use the Azure Bing Image Search resource with the v7 API, is there a way to authenticate this resource with AAD (managed identity) authentication instead of keys?

Bing Web Search
Bing Web Search
A Bing service that gives you enhanced search details from billions of web documents.
162 questions
{count} votes

Accepted answer
  1. navba-MSFT 26,245 Reputation points Microsoft Employee
    2024-02-26T03:11:54.7+00:00

    @Ameer Muslih Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    Image Search API v7 REST API reference article clearly mentions that the Ocp-Apim-Subscription-Key is a Required field. So if this auth header is not specified, you cannot invoke the bing image search REST API.

    User's image

    Also refer the bing search docs which mentions about the required field Ocp-Apim-Subscription-Key. More info here.

    On a side note:

    Bing Search APIs are moving from Cognitive Services to Bing Search Services. Starting October 30, 2020, any new instances of Bing Search need to be provisioned following the process documented here. Bing Search APIs provisioned using Cognitive Services will be supported for the next three years or until the end of your Enterprise Agreement, whichever happens first. For migration instructions, see Bing Search Services.

    Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help. ** Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.