Tuesday, April 16, 2024
pip install packages where multiple python versions installed
Tuesday, March 26, 2024
Azure @ Enterprise - App Service Deployment Error: ENOENT: no such file or directory, open
I was fiddling with deployment via the Kudo console in the Azure app service. Removed one file as part of testing. The expectation was that the next deployment would put the file back.
The next deployment from GitHub actions failed with the below message.
No more details on failure in GH Actions logs. There was an error as shown below in the Azure AppService Deployment center.
Error: ENOENT: no such file or directory, open '/home/site/wwwroot/Azure.Core.dll
That was the exact file I removed earlier.
Debugging
Hypothesis 1
Hypothesis 2
Solution
Finally attempted the Microsoft-certified solution of Restarting the App service. It worked.
The order is to stop the App service, do the deployment, and start again.
Tuesday, March 12, 2024
Get Graph Id of folder or file in SharePoint Online UI without code
Often when we work with SharePoint Online via its APIs we will encouter situations to know the Graph id of documents or folders. Mainly when we want to debug our automation code or any code written aginst Graph API. The Graph Id is currently not displayed anywhere in the UI. This video shows how can we get the Graph Id of a document from UI or without writing code.
Urls used in the video
https://vermarajneesh.sharepoint.com/sites/DataSite/_api/web/GetFolderByServerRelativeUrl('/sites/DataSite/Important%20Files/')
https://vermarajneesh.sharepoint.com/sites/DataSite/_api/web/GetFileByServerRelativeUrl('/sites/DataSite/Important%20Files/Project01/tracker.xlsx')/ListItemAllFields
https://vermarajneesh.sharepoint.com/sites/DataSite/_api/web/GetFileByServerRelativeUrl('/sites/DataSite/Important%20Files/Project01/tracker.xlsx')/ListItemAllFields/File?$select=VroomItemId
References
VroomId added - https://devblogs.microsoft.com/microsoft365dev/new-sharepoint-csom-version-released-for-sharepoint-online-august-2020/