office365

Prevent authentication prompt when configuring a new Exchange Online email profile using Redemption

非 Y 不嫁゛ 提交于 2019-12-11 17:28:38
问题 I have an issue where attempting to configure an Exchange Online mail service for a new profile using Profman causes an authentication prompt, and was wondering if anyone had done something similar programmatically before, and whether or not they were able to provide credentials / prevent the prompt from showing? RDOSession profileSession = RedemptionLoader.new_RDOSession(); string proxy = String.Format("hknprd0204.outlook.com",machineName); string server = String.Format("hknprd0204.mailbox

whitelist domain names on Azure AD with App Registration

ⅰ亾dé卋堺 提交于 2019-12-11 16:58:01
问题 The authentication process for O365 requires adding the redirect URL in a whitelist on the app’s dashboard on Azure. However, this whitelist doesn't work with domain names. It requires to add the entire URL for every page which is not possible if you have a huge number of URLs, plus some of the URLs are dynamically generated by the backend. Is it possible to whitelist the domain with all its sub-directories/URLs in one go? 回答1: No, it is not (unless you want to use wildcards, which you

Planner Tasks Api Call is failing with permission error sporadically

廉价感情. 提交于 2019-12-11 15:59:29
问题 I'm calling following endpoint https://graph.microsoft.com/v1.0/planner/plans/:planId/tasks?$select=id,title,appliedCategories,assignments,dueDateTime,createdDateTime,percentComplete Sometimes call is failing with permission error (not always) but other calls to Graph API are working fine with same token the error Response is { "error": { "code": "", "message": "You do not have the required permissions to access this item.", "innerError": { "request-id": "f8b43045-b062-4e57-9c7f-c4380c197f55"

WSO2 Identity Server SAML2 Response Issuer verification failed

安稳与你 提交于 2019-12-11 15:47:02
问题 I have set up WSO2 Identity Server with Office 365 (AAD) Identity Provider, the sso sample app travelocity.com and configured my Azure Active Directory application with the necessary permissions.I have disabled user consent on both side, Azure AD & my Identity Server. Using the sample app, the login is working fine but I receive the following error from travelocity.com An error has occurred SAML2 Response Issuer verification failed I guess the authentication is working, from the debug logging

SmtpClient SendMailAsync sometimes never returns

五迷三道 提交于 2019-12-11 15:29:45
问题 We have implemented our own customized bulk email software. For three years we used it with a local Exchange server and never had any issues. A few months ago we switched to Office 365 and now have the problem that every now and then the email sending suddenly stops. I have copied a sketch of the code below. We use SmtpClient.SendMailAsync from System.Net.Mail. Since we need to be able to throttle the amount of emails per minute, we have a timer that is enabled after each successfully sent

How to get member added event or channel created event in MS Teams

删除回忆录丶 提交于 2019-12-11 15:29:02
问题 member added & channel created event in Teams I want to get the details like above, for example, adding member into one team OR creating new channel. I try List Channel Messages API, but the response have no relative details, just some chat messages details: List Channel Messages API: GET https://graph.microsoft.com/beta/teams/{group-id-for-teams}/channels/{channel-id}/messages Is there method to achieve the needs, Thanks. 回答1: There is currently no way to use MS Graph to subscribe to these

Loading error for office addin - sometime - error office 365 has been configured to prevent indi

一个人想着一个人 提交于 2019-12-11 15:16:23
问题 My office addin works good most of the time, but some time it shows error as below Office 365 has been configured to prevent individual acquisition of office store addins 回答1: Usually this error is an indicator that your administrator settings doesn't allow individual apps in Office 365. Since you say that your settings has been set to prevent individual acquisition, your add-in should technically never work unless you have added it to your organisation as an administrator in which case it

Office365 to Azure directory association:

蓝咒 提交于 2019-12-11 14:57:01
问题 My Office365 subscription expired and I was allocated a new 365subscription which has cause a problem. As I can not disassociate the old office365 subscription from my Azure directory.(I can not delete the Office 365 applications so I can not delete the directory) Q) how can I associate the new Office365 subscription to my Azure subscription? and gain access to the directory that is associated with that subscription? ?? 回答1: This was pretty tricky one. It is worthed a whole blog post. I will

Outlook webhook notification subscription

删除回忆录丶 提交于 2019-12-11 14:48:49
问题 I already implemented outlook notification rest api into my code and its work fine but today it suddenly failed and gives me 400 error. Request outlook for create subscription for notification Output:: {"error":{"code":"ErrorInvalidParameter","message":"The parameter 'Resource' is invalid."}} My post data as below :: URL => outlook.office.com/api/v2.0/me/subscriptions $subscriptionParameters = json_encode(array( "@odata.type" => "#Microsoft.OutlookServices.PushSubscription", "Resource" =>

How to retrieve the extendedProperties associated with emails in the sent folder from exchange

99封情书 提交于 2019-12-11 14:25:07
问题 We have created extendedProperties on emails using val uId = getUniqueId(); val emailExtendedPropDef = new ExtendedPropertyDefinition(uId,"uniqueId", MapiPropertyType.String) try { email.setExtendedProperty(emailExtendedPropDef, uId.toString) email.sendAndSaveCopy() } catch { case e: Exception => error(s"Exception in setting extended property for user $from", e) throw e } Now we want to iterate over the emails in sent folder and go over the extendedProperties for the emails that have been set