office365

EWS - Access All Shared Calendars

不想你离开。 提交于 2019-12-17 04:34:20
问题 I've got the following code: private void ListCalendarFolders(ref List<EBCalendar> items, int offset) { var pageSize = 100; var view = new FolderView(pageSize, offset, OffsetBasePoint.Beginning); view.PropertySet = new PropertySet(BasePropertySet.FirstClassProperties); view.PropertySet.Add(FolderSchema.DisplayName); view.PropertySet.Add(FolderSchema.EffectiveRights); view.Traversal = FolderTraversal.Deep; FindFoldersResults findFolderResults = service.FindFolders(WellKnownFolderName

Office 365 error Resource not found for the segment 'MailFolders'

笑着哭i 提交于 2019-12-14 02:46:04
问题 I am creating functionality in Asp.net webform to display Office 365 mails in one of my page. Currently I am using Microsoft.Office365.Discovery (v1.0.22) and Microsoft.Office365.OutlookServices (v1.0.41.0) nuget package. I need to display Folder wise total mail coundand total unread count but Microsoft.Office365.OutlookServices (v.1.0.41.0) does'n have such functionality. So i downloaded nugetpackage Microsoft.Office365.OutlookServices (v.2.0.1.0) which has properties UnreadItemCount and

APIs for reading activity feed from Microsoft Teams

烂漫一生 提交于 2019-12-13 22:33:14
问题 Is there any inbuilt APIs available using which we can read notifications from activity feed in Microsoft Teams? I've gone through Microsoft Teams Developer Platform but didn't find any clue. Any resources with explanation are greatly appreciated. 回答1: The answer from @mdrichardson-msft would find notifications sent by an app, but only a small fraction of the activity feed would ever match that. The Microsoft Graph APIs for retrieving the activity feed are on the backlog but they are not yet

Using vba to automate a Microsoft Word document with data imported from an Excel sheet, using a variable to filter what data to actually insert

六月ゝ 毕业季﹏ 提交于 2019-12-13 21:16:09
问题 I'm trying to populate a Word document with information from Excel. The table on excel looks really simple. QUESTION |YES| DATA Prewritten question 1 | X | Prewritten data 1 Prewritten question 2 | X | Prewritten data 2 Prewritten question 3 | X | Prewritten data 3 How would I then automate populating a new word document with the data with the variable X under YES, only pasting the prewritten data held in the data column? I almost got this working on Word just using the step by step mail

Setting width of Office add-in task pane

白昼怎懂夜的黑 提交于 2019-12-13 17:16:25
问题 Is it possible to set the width of a Outlook add-in when it gets loaded up. Right now when I click on my addin button on the ribbon, the task pane shows up on the right with a width of about 437 pixels. I would like to increase that width to something like 820 pixels. 回答1: The task pane add-in doesn't support to set the width for the panel. You can submit the feedback here if you want the task pane add-in to support this feature. 回答2: That's right, there is no way to specify the width.

SharePoint Foundation 2010 Client Object Model Authentication

冷暖自知 提交于 2019-12-13 14:33:20
问题 I want to implement a custom logging by passing authentication information, as shown in below reference links: http://blogs.msdn.com/b/cjohnson/archive/2011/05/03/authentication-with-sharepoint-online-and-the-client-side-object-model.aspx http://msdn.microsoft.com/en-us/library/hh147177(v=office.14).aspx I'm using below code but it does not automatically login instead it just popup the login window to enter username and password. I want to automatically log in by passing the credentials pro

Is this correct Open Office XML?

↘锁芯ラ 提交于 2019-12-13 13:15:47
问题 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <?mso-application progid="Word.Document"?> <pkg:package xmlns:pkg="http://schemas.microsoft.com/office/2006/xmlPackage"> <pkg:part pkg:name="/_rels/.rels" pkg:contentType="application/vnd.openxmlformats-package.relationships+xml" pkg:padding="512"> <pkg:xmlData> <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"> <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006

GetObject(, “Word.Application”) Office 365

不打扰是莪最后的温柔 提交于 2019-12-13 10:57:27
问题 After installing Office 365 my application code in vba is not working anymore Set wrd = GetObject(, "Word.Application") wrd.Visible = True wrd.Documents.Open "C:\My Documents\Temp.doc" Set wrd = Nothing Does someone has any ideas It does'nt recornize Office 365 with this code above but if i install Office 2016 or 2013 it works. 回答1: SOLVED ! Search in the registry for correct application name. On windows 7 you can find it in "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\RegisteredApplicati‌​ons".

How can I create group mail alias using office 365 API in C#

浪尽此生 提交于 2019-12-13 09:37:21
问题 How can I create aliases for groups or specific e-mail accounts using the Office 365 API using C#? I want to dynamically create a group alias name for a group (or specific email) that was already created in Office 365. 回答1: In this case, you can consider using the Microsoft Graph - Create Group First, ensure you have assigned the "Microsoft Graph" > "Read and write all groups" permission to app in Azure AD. Code for your reference: string authority = "https://login.windows.net/yourdomain

Is there a REST (Graph or otherwise) equivalent of Add-MailboxPermission?

蹲街弑〆低调 提交于 2019-12-13 09:19:50
问题 Right now I have a PS script that is checking for mailbox permissions and if they are missing, the permissions are added. From C#, would like to call the equivalent of: Get-MailboxPermission and if needed, add permissions like: Add-MailboxPermission -Identity $email -User $AdminUserName -AccessRights fullAccess -InheritanceType All even if I can find the equivalent of Add-MailboxPermission that would do it. Cannot seem to find a REST equivalent or even a way with the GraphServiceClient. I