office365

Insert comment in Word using office.js

混江龙づ霸主 提交于 2019-12-12 10:03:13
问题 I am trying to make a Word add-in in office.js that inserts comments in the document. It seems to me the only way to achieve this is to use OOXML. I can insert the comment but my problem is that when I do so a paragraph break is inserted as well as can be seen from this image. A far as I can see it boils down to that if I am only inserting some text the content of the body looks like the following which works fine <w:p> <w:r> <w:t>Some text</w:t> </w:r> </w:p> But if I am inserting a

How do you Authenticate a Logic app microsoft.web/connections connection with code

跟風遠走 提交于 2019-12-12 09:56:17
问题 I have a logic app with an Office 365 connection. Of course I can authenticate this in the portal manually but I would have to do this every time I deploy from my deployment automation pipeline. I have found a post of this but it is no longer available: Authenticating office365 logic app connector with PS The link that is no longer available Here is what I mean in the portal: Any idea how I automate this with say Powershell or az clie or something else? thanks Russ 回答1: This question was

After implementing to office 365 able to login but getting Bad Request?

僤鯓⒐⒋嵵緔 提交于 2019-12-12 09:28:20
问题 We have implemented Office 365 Azure AD authentication for our application. However, after office 365 authentication, it is going in continuous loop till it throws an errors "Bad Request" 回答1: Apparently this solved issue: https://github.com/KentorIT/owin-cookie-saver Taken verbatim from the site: There is a bug in Microsoft's Owin implementation for System.Web. The one that is being used when running Owin applications on IIS. Which is what probably 99% of us do, if we're using the new Owin

How can I use web app with EWS managed API for office 365?

夙愿已清 提交于 2019-12-12 06:29:07
问题 With c#; I am able to use access_token generated with native app to request EWS managed api for office 365. I am trying to use access_token generated with web app . This is failing at service.AutodiscoverUrl('mailid', delegate(string url){return true}) and getting error ' The Autodiscover service couldn't be located. '. I am using following code to generate access_token using web app. string authority = "https://login.windows.net/common/oauth2/authorize"; string serverName = "https://outlook

Login into Office 365 tenant from within Office add-in without pop-up

99封情书 提交于 2019-12-12 06:01:38
问题 If I want to access an Office 365 API in and Office add-in I have to use the Azure AD login screen in my application. However, this will always result in a pop-up for the login action itself. Is there a way to prevent his pop-up? 回答1: Actually, what you're looking for is a way to make sure that the external domain (where the Azure AD login screen is hosted, something like https://login.microsoftonline.com for Office 365 users) is showed within the same add-in frame rather than launching a

Change the displayname of the sender when sending mail via o365?

牧云@^-^@ 提交于 2019-12-12 05:25:35
问题 Is it possible to control the display name of the sender when sending mails with the office 365 OutlookServicesClient ? I.e., I want to use, say mailer@domain.com as the sender which is configured with the name some name@domain.com in office 365. But for a given mail I want the from name to instead be some other name@domain.com . I've tried this: Message draftMessage = new Message { Subject = subject, Body = body, ToRecipients = toRecip, CcRecipients = ccRecip, From = new Recipient() {

Office.context.mailbox.item.body.setAsync removing original base64 from signatures

左心房为你撑大大i 提交于 2019-12-12 05:17:05
问题 I'm trying to use Office.context.mailbox.item.body.getAsync and Office.context.mailbox.item.body.setAsync Javascript methods in my Outlook add-in to add some content to the mail body. It's working really well, except when the user has an image on its signature. The image disappears and only its alt attribute is shown. If I inspect the html, the <img> element is there, but the src attribute turns into (unknown) instead of showing the original base64. 回答1: I work days on this problem without

Create Application with Authenticates against O365 Azure AD with OpenIdConnect

折月煮酒 提交于 2019-12-12 05:16:34
问题 I've got an application I'm creating for use with Office 365 accounts (Will be multi-tenant). I'm looking to use OpenID Connect for authentication. I do not need regular Microsoft accounts working. I've tried creating an application at: https://portal.azure.com -> Azure Active Directory -> App Registrations As well as: https://manage.windowsazure.com -> Active Directory -> Applications These did not appear to work for OpenId Connect. Creating an app at: https://apps.dev.microsoft.com Did work

Office Graph TrendingAround API result?

时光毁灭记忆、已成空白 提交于 2019-12-12 05:14:02
问题 I am trying to see what is the result of calling Files Trending around me API (https://graph.microsoft.com/beta/me/trendingAround) but I just get the following: {{ "@odata.context": "https://graph.microsoft.com/beta/$metadata#users('071578c7-9961-4b43-970b-66fbbb6a938f')/trendingAround", "value": [] }} If I call Get My Files (https://graph.microsoft.com/v1.0/me/drive/root/children) I get a list of my files, but I am getting anything calling Files trending around me, and I didn't find any

PreSaveAction is not working in SharePoint office 365 (2016)

痴心易碎 提交于 2019-12-12 04:37:13
问题 I am working on SharePoint office 365 (2016), and facing issue while adding custom validation in new item form. Here scenario is complex, I can't handle by using Validation setting/formula. So I have choose custom JavaScript code. As validation should be perform on click of Save button and PreSaveAction method successfully called but only in 'Classic Experience' but when user changed to 'New Experience' it won't call because of change of HTML structure of the form. Does any one have an idea