It seems that Azure removed the permission from GUI, you should assign the permission manually like this:
Select Manifest in the left-hand navigation under Manage.
Locate the requiredResourceAccess property in the manifest, and add the following inside the square brackets ([]):
JSON
Copy
{
"resourceAppId": "00000002-0000-0ff1-ce00-000000000000",
"resourceAccess": [
{
"id": "dc890d15-9560-4a4c-9b7f-a736ec74ec40",
"type": "Role"
}
]
}
Select Save.
Select API permissions under Manage. Confirm that the full_access_as_app permission is listed.
Select Grant admin consent for org and accept the consent dialog.
Select Certificates & Secrets in the left-hand navigation under Manage.
Select New client secret, enter a short description and select Add.
Copy the Value of the newly added client secret and save it, you will need it later.