office365

In OfficeJS, can you retrieve the range of a binding object?

与世无争的帅哥 提交于 2019-12-22 08:39:34
问题 Targeted towards Word Online, but any pointers for Excel/PPT would be helpful as well. Essentially, is it possible to treat the text within a binding object as a range? Thus, being able to select it all as well as move the caret to the beginning/end. I was envisioning the code to have something to the effect of: Office.select(“myBindingID”, function error(){}).getAsRange().select(“End”); 回答1: There is a difference between the host-specific Office 2016+ wave of APIs and the "common" (2013)

Claims: difference between UPN, Name with Azure AD

安稳与你 提交于 2019-12-22 08:05:46
问题 In System.IdentityModel.Claims there are three entries: UPN, Name and NameIdentifier "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn" "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier" While debugging after authentication with AzureAD, OpenIdConnect and Office365. I see that name and upn are always the same, something that looks like the 'email' of a given user: e.g. johndoe@contoso.com or johdoe

The Autodiscover service couldn't be located

懵懂的女人 提交于 2019-12-22 05:53:20
问题 I have code to send email using Exchange Web Services (EWS 1.1 API). There is no exception if I use the hardcoded parameter values, like: service.AutodiscoverUrl("me@mydomain.com", delegate { return true; }); But If I try to use a variable then I am getting error while discovering URL, "The Autodiscover service couldn't be located". string userName = "me@mydomain.com"; service.AutodiscoverUrl(userName, delegate { return true; }); Is there any way to use variables with autodiscoverurl method?

How to wait for 'AuthenticationContext.AcquireTokenAsync()' synchronouslly?

大兔子大兔子 提交于 2019-12-22 05:21:33
问题 First of all, I'm not sure if this is important, but for the reasons mentioned by @ Simon Mourier in him answer , I'm using the EXPERIMENTAL build of ADAL, this one . In the code below, I would like to retrieve an AuthenticationResult synchronouslly, so, I will wait for completition of the authentication by AcquireTokenAsync method in a synchronous manner. This is because a boolean flag should be set after the authorization is done ( isAuthorized = true ), but tgis need to happen in a

How to get admin access to files for all user's OneDrive

我的梦境 提交于 2019-12-22 03:21:23
问题 I am tenant admin for our Office 365 deployment. we have our internal system which need to access all OneDrive sites. We are using my tenant admin credential to get the OAuth token and trying to get files from all OneDrive sites using SharePoint/OneDrive REST API with that OAuth token. With OAuth token of the tenant admin, we are only able to get the files owned by tenant admin or Shared with tenant admin. we are not able to get the files form other user's OneDrive. Same result with Microsoft

MS Graph authentication using python

我与影子孤独终老i 提交于 2019-12-22 00:28:21
问题 Trying to write a Python code where I would like to access my calendar and retrieve my schedule. Not able to get through the authentication phase. Seen and tested many examples, but all require running a local server where I browse locally and need to click a button and then enter my credentials. Aiming to perform all of this inside my Python code. 回答1: You can achieve this one of two ways: Using Resource Owner Password Credential flow - This allows you to pass the username and password to

web-sso-with-cloud-ad-Office365-users

霸气de小男生 提交于 2019-12-21 23:17:06
问题 What is the best solution to implement web-sso-with-cloud-ad-o365-users on in a .net application? I have goggled and found few solutions but I am not very convinced with those solutions. I'm building an ASP.NET web application on windows Azure.Application Username and password are same as office 365 with Windows Identity Foundation. Can I establish single sign on between the my app and the Office365 environment? So the user will have to log into Office365 once he is logged into the my app. I

Microsoft Graph API Resource not found when access workbook of onedrive

僤鯓⒐⒋嵵緔 提交于 2019-12-21 22:54:06
问题 I'm building a application that connects to OneDrive for personal Microsoft account via the Graph API.My goal is to make a application from that i can access ondrive workbook content. For reference document i am using this document : https://graph.microsoft.io/en-us/docs/api-reference/beta/resources/excel here i have 2 questions: Que 1: https://graph.microsoft.com/{version}/me/drive/items/{id}/workbook/ for this link i am using v1.0 for {version} and for {id} i am using "7FA7C48C26BC284B!114"

How to send mail via outlook using spring boot?

我只是一个虾纸丫 提交于 2019-12-21 21:40:46
问题 My application.properties file contains following configuration :- spring.mail.properties.mail.smtp.connecttimeout=5000 spring.mail.properties.mail.smtp.timeout=3000 spring.mail.properties.mail.smtp.writetimeout=5000 spring.mail.host=smtp.office365.com spring.mail.password=password spring.mail.port=587 spring.mail.username=test@outlook.com spring.mail.properties.mail.smtp.starttls.enable=true security.require-ssl=true spring.mail.properties.mail.smpt.auth=true Java classes for implemting the

Presence info of Skype for Business Online (Office 365) user

自闭症网瘾萝莉.ら 提交于 2019-12-21 21:35:05
问题 Sorry If I am giving too much details and if it is not in sync together. my question is, Is there any way by which I can show presence information of Skype for Business Online (Office 365) user into our web application? In our web application we want to provide ability to our worker users, using which he can see the status or chat with shift super-wiser users. We don't want to do any configuration to on-premise Skype for business servers, we want to this through cloud. We are using HTML 5,