microsoft-graph

Cannot share an autoopen-tagged document in read-only mode

人盡茶涼 提交于 2020-01-04 05:15:18
问题 I have an Excel file in my OneDrive, I want to create a URL link such that: 1) when my colleagues open the URL in a browser, it could open the file in Excel Online in the read-only mode , 2) and the task-pane of Script Lab is auto-opened. I have followed this to tag my document, then uploaded it to OneDrive. Then, I used Share to share this document in OneDrive as follows. Note that I well set "Anyone with the link can view" Here is the link: https://1drv.ms/x/s!AmAcI5jpNEmng2vYPFkfDRVMDFCP?e

Cannot share an autoopen-tagged document in read-only mode

自古美人都是妖i 提交于 2020-01-04 05:15:06
问题 I have an Excel file in my OneDrive, I want to create a URL link such that: 1) when my colleagues open the URL in a browser, it could open the file in Excel Online in the read-only mode , 2) and the task-pane of Script Lab is auto-opened. I have followed this to tag my document, then uploaded it to OneDrive. Then, I used Share to share this document in OneDrive as follows. Note that I well set "Anyone with the link can view" Here is the link: https://1drv.ms/x/s!AmAcI5jpNEmng2vYPFkfDRVMDFCP?e

Microsoft graph and Azure Ad user authentication

丶灬走出姿态 提交于 2020-01-04 05:09:50
问题 I have an application registered in Azure ad. When i do ADAL with the following details i get a authoriazation token to use with microsoft graph api. `username = 'admin@domain.com' password = 'password123' client_id = application id from azure ad client_secret = keys from application on azure ad tenant = directory id from azure ad` Using this token i can fetch the list of all sites in my sharepoint account. Below is the endpoint i call to fetch the sites with the bearer token: https://graph

Office 365 Graph API $top not being honoured on delta queries

前提是你 提交于 2020-01-03 08:47:13
问题 The Office 365 Graph API documentation suggests that $filter and $top operations should be supported when used together on a delta query... https://developer.microsoft.com/en-us/graph/docs/concepts/delta_query_messages#track-message-changes-in-a-folder However, when executing a query that uses both $filter and $top such as this: https://graph.microsoft.com/beta/me/mailfolders/AAMkADQ3MDg1NWRmLTUxMGQtNDRiMi1iMGE4LTAzMzdjNGRiYTIxNQAuAAAAAADEPuholyn_QpUTcq2qMEH4AQBScDrPb

Unable to set isOrganizerOptional parameter, in findMeetingTimes

前提是你 提交于 2020-01-03 02:25:08
问题 In using Microsoft Graph, I am unable to set the IsOrganizerOptional parameter. This code works: { "timeConstraint": { "timeslots": [ { "start": { "dateTime": "2018-01-11T10:00:00", "timeZone": "Pacific Standard Time" }, "end": { "dateTime": "2018-01-11T11:00:00", "timeZone": "Pacific Standard Time" } } ]...} But, this code: { "isOrganizerOptional": true, "timeConstraint": { "timeslots": [ { "start": { "dateTime": "2018-01-11T10:00:00", "timeZone": "Pacific Standard Time" }, "end": {

Sending Microsoft Graph request events returns 400

[亡魂溺海] 提交于 2020-01-02 12:40:07
问题 I was able to create an event with Graph by posting the JSON request to https://graph.microsoft.com/v1.0/me/calendar/events. I had not looked at it for a while, but now I get a 400 (bad request) when I do so. For a scope I have specified "openid offline_access User.Read Calendars.ReadWrite Contacts.Read Mail.Send" (I am doing more than just creating a calendar event). I am authenticated, and can successfully create an email when posting to https://graph.microsoft.com/v1.0/me/sendmail. I have

Properties null when using /users but not when using /me/contacts

為{幸葍}努か 提交于 2020-01-02 12:01:29
问题 When getting contacts from https://graph.microsoft.com/v1.0/me/contacts I get all properties for a user, ex: { displayName: 'Joe Joeson', jobTitle: 'Administrator', department: 'HK', mobilePhone: '09823987234', businessPhones: '8934598743', mail: 'joe@mail.com', } But when I get all users of the organization (with https://graph.microsoft.com/v1.0/users?$select=displayName,jobTitle,department,mobilePhone,businessPhones,mail,userType ) the same contact doesnt get some properties, ex: {

Properties null when using /users but not when using /me/contacts

孤街醉人 提交于 2020-01-02 12:00:23
问题 When getting contacts from https://graph.microsoft.com/v1.0/me/contacts I get all properties for a user, ex: { displayName: 'Joe Joeson', jobTitle: 'Administrator', department: 'HK', mobilePhone: '09823987234', businessPhones: '8934598743', mail: 'joe@mail.com', } But when I get all users of the organization (with https://graph.microsoft.com/v1.0/users?$select=displayName,jobTitle,department,mobilePhone,businessPhones,mail,userType ) the same contact doesnt get some properties, ex: {

How to reset password using Microsoft Graph Client SDK(C#)?

僤鯓⒐⒋嵵緔 提交于 2020-01-01 19:37:28
问题 How can a user reset his password using Microsoft Graph client. I am not able to find the right way to do it. Thanks. 回答1: Tom is correct about this the Delegate Scope Directory.AccessAsUser.All allowing the signed-in user to change their password. The standard User.ReadWrite can update most properties, but it cannot update the user's password. It is, however, a supported operation. The SDK includes the PasswordProfile class you need to pass into Graph. The syntax would look something like

How to create schema extension without custom verified domain

青春壹個敷衍的年華 提交于 2020-01-01 19:18:30
问题 According to this article: Add custom data to groups using schema extensions (preview) If I want to create a custom schema extension, I must have a verify domain name like domain.com. Must ends with '.com'? How about test.domain.com? how about domain.net? How about without custom domain, just with default onmicrosoft domain? I got this error when I try to create a schema extension: { "error": { "code": "BadRequest", "message": "Your organization must own the namespace gaoulm021 as a part of