Hi All,
We have just had the ability to create the 'When a HTTP Request is received' trigger with the option for 'Who can trigger the flow?' enabled. Add OAuth authentication for HTTP request triggers - Power Automate | Microsoft Learn

When trying to use this, it seems that there is something missing from the documentation, or from the setup of the flow, since every time I try to call the flow, it gives the error below:
{
"error": {
"code": "DirectApiAuthorizationRequired",
"message": "The OAuth authorization scheme is required. Please add authentication scheme and try again."
}
}
The documentation does talk about this authentication headers and tokens, but I was expecting the standard Microsoft 365 login screen before the flow would run, rather than having to implement OAuth myself manually, which is what is seems like I will need to do. Can anyone confirm what an example request looks like, or provide more documentation?
Given that this is now the default behaviour for this connector, and that this is a huge step up in terms of security, I hope there is a simple way for us to implement this rather than having to jump through hoops or not possible at all.