Not able to see the installed App in my Site contents or My apps after installing via ALM Rest APIs

Highlighted
Occasional Visitor


I am trying to Add an application to Onedrive site via REST APIs specified in https://docs.microsoft.com/en-us/sharepoint/dev/apis/alm-api-for-spfx-add-ins

First step upload the package to tenant catalog is success and i can see the app in tenant catalog when i login to the sharepoint.
https://docs.microsoft.com/en-us/sharepoint/dev/apis/alm-api-for-spfx-add-ins#add-solution-package-t...


Second step, deploy/ publish fails with below error
https://docs.microsoft.com/en-us/sharepoint/dev/apis/alm-api-for-spfx-add-ins#deploy-solution-packag...
Post https://shn-my.sharepoint.com/_api/web/tenantappcatalog/AvailableApps/

HTTP/1.1 400 Bad Request
{"odata.error":{"code":"-1, System.InvalidOperationException","message":{"lang":"en-US","value":"Operation is not valid due to the current state of the object."}}}

Next step , install succeeds , but i am not able to find this app in my onedrive site contents, When i try again to install it , it says it already installed, not sure what am i missing ?

https://docs.microsoft.com/en-us/sharepoint/dev/apis/alm-api-for-spfx-add-ins#install-solution-packa...

 

0 Replies