I have a trained Custom Vision project and a PowerApp setup.
I created a Custom Vision Connection giving it the Prediction Key I get from the CV Project.
I use the following formula from a camera view's onSelect action:
UpdateContext({predictValues: CustomVision.PredictImage("<my-project-id-here>", Camera.Stream).Predictions})
But I keep getting the following response:
{
"error": {
"statusCode": 401,
"message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."
}
I have tried both Key1 and Key2 from the Azure project on the CV Connection.
I tried the Subscription-Id from the Azure Project (I know it's wrong, but I was desperate) on the CV Connection.
I have tried the Project-Id as parameter in the formula function, also the above keys as parameter in the formula function.
No matter what I try, I get the Above Error (401).
Any ideas on how to get that formula function to work with Azure Custom Vision API?