office365

How can I access a mailbox with restricted permissions through EWS without interactive login?

淺唱寂寞╮ 提交于 2021-01-29 06:47:26
问题 We need to read out distribution lists from a contact folder of a dedicated exchange/outlook mailbox (O365). The process must run as a service with no user interaction. Unfortunately the Graph API does not support distribution lists (not even the Graph beta version does). Because of this we have to use another API - I tried using EWS. I succeeded by granting full_access_as_app permission to our service. However this allows to read and modify ANY data in ANY mailbox which is a security risk.

Word add-in Error Code 13004

倾然丶 夕夏残阳落幕 提交于 2021-01-29 06:19:59
问题 Just want to ask for help in this error, seems like there is little documentation about this error. I created a Word add-in that utilizes MS Graph, when I deployed it through Azure App Service and run the add-in in Word. It throws this error: Error code: 13004 Name: Invalid application resource Url provided. Message: Invalid resource Url specified in the manifest. Do note that I am using Azure's default app service URL for my add-in, which is something like https://yourappname.azurewebsite

Clean/Purge an Exchange Online Mailbox using PowerShell - Post 1st July 2020

≯℡__Kan透↙ 提交于 2021-01-29 05:11:42
问题 On 1st July 2020 Microsoft have retired the Search-Mailbox cmdlet. This functionality allowed for the purging of all content in a mailbox e.g. Search-Mailbox -Identity joe.bloggs@domain.com -DeleteContent The above functionality worked great, however it has been retired. The recommended way forward is to use New-ComplianceSearch, Start-ComplianceSearch and New-ComplianceSearchAction. This seems all good until you read the documentation at https://docs.microsoft.com/en-us/exchange/policy-and

Data get render on Desktop Excel using office.js, but on Chrome Office 365 its give an error “There was an error processing the request.”

不想你离开。 提交于 2021-01-28 03:31:19
问题 We are using Office js library to render data on excel. There are more than 2000 rows that works fine on Desktop Excel . But when same API is used on Chrome office 365 it gives error message "There was an error processing the request." Please see attached screenshot. As data get larger Chrome Office excel is not able to render data. Please help us as this is blocker in our application and our production is getting effected. 回答1: There are 2 limitations when interacting with Excel workbook

Data get render on Desktop Excel using office.js, but on Chrome Office 365 its give an error “There was an error processing the request.”

做~自己de王妃 提交于 2021-01-28 02:39:54
问题 We are using Office js library to render data on excel. There are more than 2000 rows that works fine on Desktop Excel . But when same API is used on Chrome office 365 it gives error message "There was an error processing the request." Please see attached screenshot. As data get larger Chrome Office excel is not able to render data. Please help us as this is blocker in our application and our production is getting effected. 回答1: There are 2 limitations when interacting with Excel workbook

Best way to get emails in an organization using the Outlook 365 API

流过昼夜 提交于 2021-01-27 20:24:30
问题 I'm building an application for collecting statistical information from emails inside organizations. Let's assume that those organizations use Outlook 365. I want to be able to do the following in the easiest way: Get permissions to read all the mails in an organization Get the emails + attachments and run my statistics It seems that there is no easy way to do it with Outlook 365. I found this: any-office-365-rest-api-to-get-messages-from-all-mailboxes-in-an-organization , but I don't

Excel - How can we replace multiple characters or whole words in a cell using LAMBDA()

北慕城南 提交于 2021-01-23 11:08:46
问题 At risk of being off-topic I decided to do a little Q&A as I'm pretty excited about a new function MS is introducing to Excel365; the LAMBDA() function. If the general opinion is such that this is off-topic, please let me know and I can take down the Q&A. The LAMBDA() function is basically your way in Excel itself to create your own function. You then can go ahead and call this function throughout your entire workbook. But the absolute great thing (IMHO) about it is that it is able to call

Cant connect to Office365 SMTP via PHPmailer

余生颓废 提交于 2021-01-20 11:54:51
问题 i have problem to connect through smtp to office365. I read all tips here but nothing help. Debug: 2018-05-16 08:12:52 Connection: opening to smtp.office365.com:587, timeout=300, options=array ( ) 2018-05-16 08:12:52 Connection: opened 2018-05-16 08:12:52 SERVER -> CLIENT: 220 CWLP265CA0229.outlook.office365.com Microsoft ESMTP MAIL Service ready at Wed, 16 May 2018 08:12:52 +0000 2018-05-16 08:12:52 CLIENT -> SERVER: EHLO localhost 2018-05-16 08:12:52 SERVER -> CLIENT: 250-CWLP265CA0229

AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '******-*****-*****-*****-*********'

China☆狼群 提交于 2021-01-13 10:37:50
问题 I am trying to allow o365 login in my Django project using "Django Microsoft Authentication Backend (https://django-microsoft-auth.readthedocs.io/en/latest/)" but I keep getting this error when i try to log in with my microsoft credentials. AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '******-*****-*****-*****-*********'. I have checked the links i added to my django project and in AAD but cannot figure out the problem PS: i

Word Web-Addin: getSliceAsync() only return First Slice of data

懵懂的女人 提交于 2021-01-12 06:31:16
问题 I am developing an office 365 word web addin , wherein I need to upload the currently opened document to my server. For which I am trying to get the file data using following code. The method getSliceAsync() is returning only first slice of data. On debugging it gives "Addin Error: Sorry, we had to restart because this addin wasn't responding" while getting second slice. I am using this link for reference : [https://docs.microsoft.com/en-us/office/dev/add-ins/word/get-the-whole-document-from