Click here to Skip to main content
15,443,549 members
Home / Discussions / Cloud Computing
   

Cloud Computing

 
QuestionLogging in to Tiki Wiki on Azure Pin
jsc427-Jan-22 5:29
professionaljsc427-Jan-22 5:29 
QuestionCan a SignalR chat "hub" be hosted on AWS/LightSail? Pin
victorbos27-Jan-21 4:14
Membervictorbos27-Jan-21 4:14 
AnswerMessage Closed Pin
15-Mar-21 4:06
MemberJhonalbert15-Mar-21 4:06 
AnswerRe: Can a SignalR chat "hub" be hosted on AWS/LightSail? Pin
Leeladhar Ladia25-Mar-22 3:11
MemberLeeladhar Ladia25-Mar-22 3:11 
QuestionSFC allocation in CloudSim Pin
Member 147774293-Jan-21 1:30
MemberMember 147774293-Jan-21 1:30 
QuestionWhich Cloud vendor chooses for the service website? Pin
William.Front-end3-Sep-20 0:48
MemberWilliam.Front-end3-Sep-20 0:48 
AnswerRe: Which Cloud vendor chooses for the service website? Pin
Afzaal Ahmad Zeeshan3-Sep-20 5:13
mveAfzaal Ahmad Zeeshan3-Sep-20 5:13 
GeneralRe: Which Cloud vendor chooses for the service website? Pin
William.Front-end8-Sep-20 0:47
MemberWilliam.Front-end8-Sep-20 0:47 
AnswerRe: Which Cloud vendor chooses for the service website? Pin
ZurdoDev15-Oct-20 6:45
professionalZurdoDev15-Oct-20 6:45 
AnswerRe: Which Cloud vendor chooses for the service website? Pin
MobilHead6-Aug-21 1:08
MemberMobilHead6-Aug-21 1:08 
AnswerRe: Which Cloud vendor chooses for the service website? Pin
Michael Donald29-Nov-21 21:08
professionalMichael Donald29-Nov-21 21:08 
AnswerRe: Which Cloud vendor chooses for the service website? Pin
Member 155103601-Jun-22 4:56
MemberMember 155103601-Jun-22 4:56 
QuestionMigrate shared hosting ASP.Net site(s) to Azure Pin
DerekT-P18-Jul-20 23:28
professionalDerekT-P18-Jul-20 23:28 
AnswerRe: Migrate shared hosting ASP.Net site(s) to Azure Pin
Afzaal Ahmad Zeeshan3-Sep-20 5:24
mveAfzaal Ahmad Zeeshan3-Sep-20 5:24 
GeneralRe: Migrate shared hosting ASP.Net site(s) to Azure Pin
DerekT-P3-Sep-20 23:41
professionalDerekT-P3-Sep-20 23:41 
GeneralRe: Migrate shared hosting ASP.Net site(s) to Azure Pin
Afzaal Ahmad Zeeshan4-Sep-20 3:57
mveAfzaal Ahmad Zeeshan4-Sep-20 3:57 
QuestionOffice 365 + IMAP + OAuth2 [Solved] Pin
Richard Deeming15-Apr-20 4:03
mveRichard Deeming15-Apr-20 4:03 
AnswerRe: Office 365 + IMAP + OAuth2 Pin
Richard Deeming20-Apr-20 0:41
mveRichard Deeming20-Apr-20 0:41 
AnswerRe: Office 365 + IMAP + OAuth2 Pin
Richard Deeming28-Apr-20 0:21
mveRichard Deeming28-Apr-20 0:21 
Finally managed to get the code to access a shared mailbox, with help from Sivaprakash Saripalli at Microsoft. It's simply a case of passing the email address of the mailbox instead of the username to the SaslMechanismOAuth2 constructor.
C#
const string ClientId = "..."; // The "Application (client) ID" from the Azure apps portal
const string UserName = "..."; // The Office365 account username - user@domain.tld
SecureString Password = ...;   // The Office365 account password
const string Mailbox = "..."; // The shared mailbox name - mailbox@domain.tld

// Get an OAuth token:
var scopes = new[] { "https://outlook.office365.com/IMAP.AccessAsUser.All" };
var app = PublicClientApplicationBuilder.Create(ClientId).WithAuthority(AadAuthorityAudience.AzureAdMultipleOrgs).Build();
var authenticationResult = await app.AcquireTokenByUsernamePassword(scopes, UserName, Password).ExecuteAsync(cancellationToken);

// Authenticate the IMAP client:
using var client = new ImapClient();
await client.ConnectAsync("outlook.office365.com", 993, SecureSocketOptions.Auto, cancellationToken);
await client.AuthenticateAsync(new SaslMechanismOAuth2(Mailbox, authenticationResult.AccessToken), cancellationToken);




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

QuestionASP.NET + Multi Form using Textbox problem Pin
kerek224-Feb-20 21:42
Memberkerek224-Feb-20 21:42 
AnswerRe: ASP.NET + Multi Form using Textbox problem Pin
Richard MacCutchan24-Feb-20 23:17
mveRichard MacCutchan24-Feb-20 23:17 
QuestionAzure Data Factory pipeline into compressed Parquet file: “java.lang.OutOfMemoryError:Java heap space” Pin
VictorSotnikov16-Sep-19 10:20
MemberVictorSotnikov16-Sep-19 10:20 
QuestionHow to search for a word or color on a website? Pin
l@rs_30-Aug-19 8:17
Memberl@rs_30-Aug-19 8:17 
AnswerRe: How to search for a word or color on a website? Pin
Afzaal Ahmad Zeeshan30-Aug-19 12:02
mveAfzaal Ahmad Zeeshan30-Aug-19 12:02 
AnswerRe: How to search for a word or color on a website? Pin
Member 1502871723-Dec-20 1:45
MemberMember 1502871723-Dec-20 1:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.