Is it possible to copy data from one persongroup
to another persongroup
in Azure Face API
in the same subscription . I tried the snapshot
, while apply
I am getting following error.
"error": {
"code": "BadArgument",
"message": "Permission denied."
}
I can repro your issue on my side . Generally , this issue is caused by applyScope
param while you taking a snapshot.
applyScope
defines which Azure face service subscription that the snapshot could be applied to. If you just want to apply your snapshot within the same Azure face service subscription, you should take snapshot with request body below :
{
"type": "PersonGroup",
"objectId": "<PersonGroup ID>",
"applyScope": ["<your Azure face service subscription ID>"],
"userData": "{user provided user data}"
}
You can find the subscription ID on Azure portal :