Category : office365

from office365.runtime.auth.user_credential import UserCredential from office365.sharepoint.client_context import ClientContext site_url = "https://XXXX-my.sharepoint.com/personal/XXXXXXXX/" username_env = ‘[email protected]’ password_env = ‘XXXXXX’ relativeUrl = "Documents/XXXXXXX/" ctx = ClientContext(site_url).with_credentials(UserCredential(username_env, password_env)) web = ctx.web ctx.load(web) ctx.execute_query() Above code is working in my (windows) local system but while running in docker it gives below error. Error ‘NoneType’ object has no attribute ‘text’ Stack ..

Read more

from office365.runtime.auth.user_credential import UserCredential from office365.sharepoint.client_context import ClientContext site_url = "https://XXXX-my.sharepoint.com/personal/XXXXXXXX/" username_env = ‘[email protected]’ password_env = ‘XXXXXX’ relativeUrl = "Documents/XXXXXXX/" ctx = ClientContext(site_url).with_credentials(UserCredential(username_env, password_env)) web = ctx.web ctx.load(web) ctx.execute_query() Above code is working in my (windows) local system but while running in docker it gives below error. Error: It is not able resolve the dns ..

Read more

I tried to install excel (or office 365) inside Window container by Dockerfile and ODT (Office Deployment Tool). This is my dockerfile : FROM mcr.microsoft.com/windows/servercore:ltsc2016 # Install Office deployment tool ADD https://download.microsoft.com/download/2/7/A/27AF1BE6-DD20-4CB4-B154-EBAB8A7D4A7E/officedeploymenttool_11901-20022.exe C:/deploymenttool_autoextract.exe RUN C:/deploymenttool_autoextract.exe /quiet /passive /extract:C: COPY installconfig.xml C: # Install Office RUN C:/setup.exe /configure installconfig.xml ENTRYPOINT powershell And my install file installconfig.xml: ..

Read more