Mar 27 2018 09:18 PM
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 ?