I am creating copilot with the Authenticate with Microsoft(Entra ID authentication in Microsoft Teams, Power Apps, or Microsoft 365 Copilot) options.
I am using the HTTP Request Action to do the rest api to sharepoint, but I am getting error
Error Message: HTTP request failed with status code 403 Forbidden. Error Code: HttpRequestFailure Conversation Id: a32da511-319e-4067-98b6-d6ae5d95494d Time (UTC): 2024-12-19T12:11:57.067Z
I hope this is related to Authentication issue but to add the Authorization in the header I am not getting the System.User.AccessToken variable. Can Anyone help how can I authenticate the request. ?
Any ideas/reference links/ documentation links are highly helpful.
Thanks in Advance