Hi Good Day,
Before calling the API, you should get the access token, then when calling api pass the access token in the header .
Giving you the screenshot on how I call the graph api which should be the same for the Azure function api as well
i store the access token in a variable and pass to the actual api call in another HTTP action
outputs('HTTPToken')?['body/access_token']
Vishnu WR
Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like ♥