meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
spickzettel:microsoft_services:outlook_com_connected_accounts [2022/12/04 14:59:43] – Marcel Jäpel | spickzettel:microsoft_services:outlook_com_connected_accounts [2022/12/04 15:39:02] – Marcel Jäpel | ||
---|---|---|---|
Line 6: | Line 6: | ||
* ist ein " | * ist ein " | ||
* Die Webinterface Integration ist aber teilweise sehr verbuggt. Es kann schon mal vorkommen, dass die Buttons ohne Funktion bleiben. Dann hilft wieder nur der Weg über die Remote Powershell. | * Die Webinterface Integration ist aber teilweise sehr verbuggt. Es kann schon mal vorkommen, dass die Buttons ohne Funktion bleiben. Dann hilft wieder nur der Weg über die Remote Powershell. | ||
+ | |||
+ | <WRAP round important> | ||
+ | |||
+ | ===== Features ===== | ||
+ | * Abholen von E-Mails via POP3 inkl. ein-/ | ||
+ | * Sync von E-Mails via IMAP in einen automatisch erstellten Ordner unterhalb des Postfachs | ||
+ | * :!: Vorsicht, neue E-Mails tauchen nicht im standard Posteingang auf. Je nach verwendeter Mail-App kann das unpraktisch sein. | ||
+ | * Senden von E-Mails über den Connected Account. | ||
+ | * Die E-Mails werden mit dem Absender des Connected Accounts bei Outlook.com eingeliefert. Outlook.com sucht sich dann eigenständig den korrekten Weg für die Zustellung über den fremden Account raus und übergibt sie authentifiziert via SMTP bei diesem, welcher die E-Mail dann ganz normal an sein Ziel übermittelt. | ||
+ | |||
+ | <WRAP round important> | ||
+ | Ich bin bisher nicht zum Messen gekommen. Bisherigen Erkenntnissen Nach liegen die Sync-Intervalle bei 15-30 Minuten. Für dringende E-Mails oder zeitlich ablaufende E-Mail-Inhalte (bspw. OTP-Tokens) also nicht geeignet. ; | ||
===== Das Webinterface ===== | ===== Das Webinterface ===== | ||
Line 16: | Line 28: | ||
===== Remote Powershell ===== | ===== Remote Powershell ===== | ||
+ | |||
+ | ==== Zugangsdaten ==== | ||
+ | Zugangsdaten werden über ein Credential Object übergeben. Daher vorher separat erzeugen. | ||
+ | <WRAP round important> | ||
+ | |||
+ | <code powershell> | ||
+ | PS C: | ||
+ | </ | ||
+ | |||
+ | ==== Session aufbauen ==== | ||
+ | <code powershell> | ||
+ | PS C: | ||
+ | PS C: | ||
+ | |||
+ | ModuleType Version | ||
+ | ---------- ------- | ||
+ | Script | ||
+ | |||
+ | </ | ||
+ | |||
+ | Der Name von dem Modul wird automatisch generiert und variiert. Über das Modul lassen sich aber die interessanten Befehle finden: | ||
+ | |||
+ | <code powershell> | ||
+ | PS C: | ||
+ | |||
+ | CommandType | ||
+ | ----------- | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | Function | ||
+ | </ | ||
+ | |||
+ | Uns interessieren vorallem: | ||
+ | * New-SyncRequest | ||
+ | * Remove-SyncRequest | ||
+ | * Get-SyncRequest | ||
+ | * Set-SyncRequest | ||
+ | * Suspend-SyncRequest | ||
+ | * Resume-SyncRequest | ||
+ | |||
+ | ==== Connected Account anlegen ==== | ||
+ | In diesem Beispiel mit einer POP3 Verbindung zu GMX. Geht natürlich auch mit anderen. ;) | ||
+ | <code powershell> | ||
+ | # Passwort in SecureString konvertieren | ||
+ | PS C: | ||
+ | |||
+ | # Connected Account anlegen | ||
+ | PS C: | ||
+ | |||
+ | RunspaceId | ||
+ | Mailbox | ||
+ | EmailAddress | ||
+ | SyncProtocol | ||
+ | RemoteServerName | ||
+ | RemoteServerPort | ||
+ | SmtpServerName | ||
+ | SmtpServerPort | ||
+ | AuthenticationMethod | ||
+ | SecurityMechanism | ||
+ | AcceptUntrustedCertificates | ||
+ | DisplayName | ||
+ | OAuthProvider | ||
+ | LastSuccessfulSyncTimestamp | ||
+ | LastUpdateTimestamp | ||
+ | LastFailureTimestamp | ||
+ | InitialSyncCompletionTimestamp : | ||
+ | FailureType | ||
+ | TargetRootFolder | ||
+ | InternalFlags | ||
+ | DoNotLeaveOnServer | ||
+ | RemoteSendEnabled | ||
+ | IsQuarantined | ||
+ | IsOauthSync | ||
+ | UserName | ||
+ | SmtpUserName | ||
+ | Name : < | ||
+ | RequestGuid | ||
+ | RequestQueue | ||
+ | ExchangeGuid | ||
+ | Flags : CrossOrg, Pull | ||
+ | WorkloadType | ||
+ | BatchName | ||
+ | Status | ||
+ | Protect | ||
+ | Suspend | ||
+ | Direction | ||
+ | RequestStyle | ||
+ | OrganizationId | ||
+ | SourceMailboxSize | ||
+ | MailboxRopCount | ||
+ | WhenChanged | ||
+ | WhenCreated | ||
+ | WhenChangedUTC | ||
+ | WhenCreatedUTC | ||
+ | Identity | ||
+ | IsValid | ||
+ | ObjectState | ||
+ | </ | ||
+ | |||