office365

How do I implement Office 365 Authentication in ASP.NET Core and Blazor (Server-Client app)

我的未来我决定 提交于 2020-07-10 06:21:07
问题 I have downloaded and installed "ASP.NET Core and Blazor updates in .NET Core 3.0 Preview 9". I wanted to implement Office 365 Authentication in ASP.NET Core and Blazor (Server-Client app). I have used two layout pages for login and admin panel. When user start the application then it reaches the login page (login.razor and its layout is LandingLayout). Once user successful office 365 logged in then it redirects to admin dashboard page (dashboard.razor and its layout is MainLayout). I need to

MAPIInitialize( ) fails after April 24, 2020 update of Office 365

故事扮演 提交于 2020-07-09 16:13:15
问题 Starting on April 22, 2020 this code snippet started failing: HRESULT hRes; MAPIINIT_0 MAPIINIT= { 0, MAPI_MULTITHREAD_NOTIFICATIONS}; hRes = MAPIInitialize(&MAPIINIT); <--- Program halts here. This code has been running without a problem since at least the year 2000 (20 years). This failed on at least one computer after an Office 365 Update. However, this problem is associated with several different Outlook versions: Office 365 Version 2005 - 16.0.12823.20000 64bit - Windows Insider. Office

MAPIInitialize( ) fails after April 24, 2020 update of Office 365

会有一股神秘感。 提交于 2020-07-09 16:10:12
问题 Starting on April 22, 2020 this code snippet started failing: HRESULT hRes; MAPIINIT_0 MAPIINIT= { 0, MAPI_MULTITHREAD_NOTIFICATIONS}; hRes = MAPIInitialize(&MAPIINIT); <--- Program halts here. This code has been running without a problem since at least the year 2000 (20 years). This failed on at least one computer after an Office 365 Update. However, this problem is associated with several different Outlook versions: Office 365 Version 2005 - 16.0.12823.20000 64bit - Windows Insider. Office

Getting 400 Bad Request Error for MSGraph's create subscription api [Error Code - ExtensionError]

自作多情 提交于 2020-07-08 00:45:31
问题 Trying to create a subscription to get a channel for msgraph one drive notifications for file creation/upload. I am hitting the URL - https://graph.microsoft.com/v1.0/subscriptions with proper headers and the following body - { "changeType": "updated", "notificationUrl": "https://xxxxx.xxxxxxxxx.com/zzzz/qwertqwert", "resource": "/users/{user-id}/drive/root", "expirationDateTime": "2017-02-18T19:49:40.000Z", "clientState": "justsomerandomstring" } I am getting the following response : 400 Bad

Getting 400 Bad Request Error for MSGraph's create subscription api [Error Code - ExtensionError]

点点圈 提交于 2020-07-08 00:45:06
问题 Trying to create a subscription to get a channel for msgraph one drive notifications for file creation/upload. I am hitting the URL - https://graph.microsoft.com/v1.0/subscriptions with proper headers and the following body - { "changeType": "updated", "notificationUrl": "https://xxxxx.xxxxxxxxx.com/zzzz/qwertqwert", "resource": "/users/{user-id}/drive/root", "expirationDateTime": "2017-02-18T19:49:40.000Z", "clientState": "justsomerandomstring" } I am getting the following response : 400 Bad

C# send email with office365 smtp

大城市里の小女人 提交于 2020-07-08 00:39:55
问题 I am using C# to send an email from my local computer, but I'm running into an error while executing the code below (for testing purposes). C# code: protected void SendEmail(string emailAddres) { SmtpClient smtp = new SmtpClient(); MailMessage mail = new MailMessage() { To = { new MailAddress(emailAddres) }, From = new MailAddress("email@email.com", "fromEmail"), Subject = "Subject of a test email!", IsBodyHtml = true, Body = "Test body email.", BodyEncoding = System.Text.Encoding.UTF8,

Make Outlook add-ins working with Office 365 shared mailboxes

会有一股神秘感。 提交于 2020-07-06 16:50:57
问题 I am building apps with the new technology of Office add-ins (formerly app for Office). The add-ins activate well when registered globally for the Office 365 tenant or individually by user (mechanical gear > manage add-ins). I would like my add-in to work with Office365's shared mailboxes. The add-ins do not load in Outlook desktop or in OWA when the shared mailbox is open alone. However, I managed to make it work when setting the shared mailbox as a shared folder displayed under my primary

Make Outlook add-ins working with Office 365 shared mailboxes

て烟熏妆下的殇ゞ 提交于 2020-07-06 16:50:34
问题 I am building apps with the new technology of Office add-ins (formerly app for Office). The add-ins activate well when registered globally for the Office 365 tenant or individually by user (mechanical gear > manage add-ins). I would like my add-in to work with Office365's shared mailboxes. The add-ins do not load in Outlook desktop or in OWA when the shared mailbox is open alone. However, I managed to make it work when setting the shared mailbox as a shared folder displayed under my primary

How can i revoke the access granted to web application to my organization's azure AD?

笑着哭i 提交于 2020-07-04 13:27:27
问题 I have Office 365 Developer account & tenant in windows azure to manage office 365 users. using consent framework "prompt=admin_consent", i granted access rights to one of my web application already registered in Azure AD (which is managed by me) to use office 365 API services, After granting access using admin consent, all my Azure AD users are able to authenticate themselves against Azure AD. I am able to see the applications that i granted access using http://myapps.microsoft.com but i am

How can i revoke the access granted to web application to my organization's azure AD?

a 夏天 提交于 2020-07-04 13:27:25
问题 I have Office 365 Developer account & tenant in windows azure to manage office 365 users. using consent framework "prompt=admin_consent", i granted access rights to one of my web application already registered in Azure AD (which is managed by me) to use office 365 API services, After granting access using admin consent, all my Azure AD users are able to authenticate themselves against Azure AD. I am able to see the applications that i granted access using http://myapps.microsoft.com but i am