But I am getting below error:
approveRequestError: The service principal for permssion request {SPFX_App_Name} could not be found.
Please note there is a typo in "permssion"
Script was working fine few days ago but started giving error recently
I tried the SP online powershell as well
Get-SPOTenantServicePrincipalPermissionRequests and Approve-SPOTenantServicePrincipalPermissionRequest
getting same error
Tried
Enable-SPOTenantServicePrincipal it gives us "Unknown Error"
I checked below service principal exists:
"SharePoint Online Client Extensibility Web Application Principal"
What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested
Additional environment details
SPFx version 1.18.2 Node 18.9.0 Powershell: 7.4.1 PnP.PowerShell 2.4.33
Issue description
We have some webApiPermissionRequests defined in spfx package-solution json file
But I am getting below error:
approveRequestError: The service principal for permssion request {SPFX_App_Name} could not be found.
Please note there is a typo in "permssion"
Script was working fine few days ago but started giving error recently
I tried the SP online powershell as well
Get-SPOTenantServicePrincipalPermissionRequests and Approve-SPOTenantServicePrincipalPermissionRequest
getting same errorTried
Enable-SPOTenantServicePrincipal it gives us "Unknown Error"
I checked below service principal exists:
Azure AD app created by us
Manually approving the permission works just fine