{"id":10934,"date":"2026-03-06T19:57:23","date_gmt":"2026-03-06T17:57:23","guid":{"rendered":"https:\/\/www.sigalou-domotique.fr\/?p=10934"},"modified":"2026-03-06T21:58:10","modified_gmt":"2026-03-06T19:58:10","slug":"je-sauvegarde-home-assistant-sur-mon-onedrive-business","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business","title":{"rendered":"Ich speichere Home Assistant auf meinem Onedrive Business"},"content":{"rendered":"<p>Ich wollte OneDrive for Business als Backup-Ziel im Home Assistant verwenden.<\/p>\n<p><a href=\"https:\/\/www.home-assistant.io\/integrations\/onedrive_for_business\" target=\"_blank\" rel=\"noopener\">Offizielle Integration<\/a> Sie k\u00f6nnen Sicherungen zwar an OneDrive for Business senden, m\u00fcssen aber vorher eine Anwendung in Microsoft Entra mit einer Tenant-ID, einer Client-ID, einem geheimen Client und einem genauen Weiterleitungs-URI vorbereiten.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_91 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<label for=\"ez-toc-cssicon-toggle-item-6b0628b4a9125\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6b0628b4a9125\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Prerequis\" >Voraussetzungen<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Le_point_de_depart_dans_Home_Assistant\" >Der Ausgangspunkt im Home Assistant<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Le_detour_par_Microsoft_Entra\" >Der Umweg \u00fcber Microsoft Entra<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#La_recuperation_des_identifiants\" >Wiederherstellung von Identifikatoren<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#La_creation_du_secret_client\" >Die Schaffung des Kundengeheimnisses<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Les_permissions_necessaires\" >Erforderliche Berechtigungen<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Le_retour_dans_Home_Assistant\" >Zur\u00fcck zu Home Assistant<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Les_champs_a_remplir\" >Die auszuf\u00fcllenden Felder<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Le_cas_particulier_de_lapprobation_administrateur\" >Der Sonderfall der Genehmigung durch den Verwalter<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Le_choix_du_compte_reellement_utilise\" >Die Wahl des tats\u00e4chlich verwendeten Kontos<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Le_dossier_de_destination_pour_les_sauvegardes\" >Der Zielordner f\u00fcr Backups<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Le_resultat_dans_Home_Assistant\" >Das Ergebnis in Home Assistant<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Je_vais_verifier_si_le_dossier_a_bien_ete_cree_dans_OneDrive_facultatif\" >Ich werde \u00fcberpr\u00fcfen, ob der Ordner in OneDrive erstellt wurde (optional)<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Je_configure_les_sauvegardes_Home_Assistant_vers_OneDrive_for_Business\" >Ich konfiguriere Home Assistant-Backups auf OneDrive for Business<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Le_parametrage_des_sauvegardes\" >Parametrierung von Backups<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Les_options_de_retention\" >Aufbewahrungsoptionen<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Le_premier_test_de_sauvegarde\" >Der erste Backup-Test<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Verification_dans_OneDrive\" >\u00dcberpr\u00fcfen in OneDrive<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Configurer_les_sauvegardes_automatiques\" >Automatische Backups einrichten<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Surveillance_des_sauvegardes\" >\u00dcberwachung von Backups<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-home-assistant-sur-mon-onedrive-business\/#Les_bonnes_pratiques\" >Bew\u00e4hrte Verfahren<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Prerequis\"><\/span>Voraussetzungen<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Bevor Sie beginnen, m\u00fcssen Sie:<\/p>\n<ul>\n<li>Ein funktionaler Home Assistant.<\/li>\n<li>Ein Microsoft 365 \/ OneDrive for Business-Konto.<\/li>\n<li>Zugriff auf das Microsoft Entra-Portal mit einem Konto, mit dem eine Anwendung erstellt werden kann. Microsoft weist darauf hin, dass mindestens eine Application Developer-Rolle erforderlich ist.<\/li>\n<li>Kennen Sie die von Home Assistant verwendete Umleitungs-URL: https:\/\/my.home-Assistant.io\/redirect\/oauth.<\/li>\n<\/ul>\n<p><!--more--><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Le_point_de_depart_dans_Home_Assistant\"><\/span>Der Ausgangspunkt im Home Assistant<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Ich begann direkt im Home Assistant in <strong>Einstellungen &gt; Ger\u00e4te und Dienste<\/strong>, dann habe ich die Integration hinzugef\u00fcgt <strong>OneDrive f\u00fcr Unternehmen<\/strong>. Im ersten Fenster wurde ich nach der Kennung des Entra-Inhabers gefragt, in dem sich das f\u00fcr die Integration zu verwendende Konto befand.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10937\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-174457.png\" alt=\"\" width=\"593\" height=\"387\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-174457.png 593w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-174457-300x196.png 300w\" sizes=\"auto, (max-width: 593px) 100vw, 593px\" \/><\/p>\n<p>Zu diesem Zeitpunkt verf\u00fcgte ich noch nicht \u00fcber die erforderlichen Kennungen. Daher habe ich Home Assistant beiseite gelassen, um die App auf der Microsoft Entra-Seite vorzubereiten. [Seite 116]<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Le_detour_par_Microsoft_Entra\"><\/span>Der Umweg \u00fcber Microsoft Entra<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-10979 size-medium\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/entra-300x80.jpg\" alt=\"\" width=\"300\" height=\"80\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/entra-300x80.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/entra-768x206.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/entra-600x161.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/entra.jpg 820w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Ich gehe zu: <a href=\"https:\/\/entra.microsoft.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/entra.microsoft.com\/<\/a><\/p>\n<p>und ich logge mich mit einem Administratorkonto oder andernfalls mit einem Application Developer-Profil ein.<\/p>\n<p>Als ich bei Microsoft Entra ankam, dachte ich zun\u00e4chst, ich m\u00fcsse die <strong>Unternehmensanwendungen<\/strong>. In Wirklichkeit war dies nicht der richtige Ort f\u00fcr diese Art von Konfiguration.<\/p>\n<p>Um die von Home Assistant erwarteten IDs zu erstellen, mussten Sie in <strong>Entra ID &gt; Anwendungsregistrierungen<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10964\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-175537.png\" alt=\"\" width=\"277\" height=\"317\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-175537.png 277w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-175537-262x300.png 262w\" sizes=\"auto, (max-width: 277px) 100vw, 277px\" \/><\/p>\n<p>An dieser Stelle habe ich den Bildschirm zur Erstellung einer neuen Registrierung ge\u00f6ffnet.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10963\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-175625.png\" alt=\"\" width=\"795\" height=\"432\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-175625.png 795w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-175625-300x163.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-175625-768x417.png 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-175625-600x326.png 600w\" sizes=\"auto, (max-width: 795px) 100vw, 795px\" \/><\/p>\n<p>Microsoft erkl\u00e4rt im \u00dcbrigen, dass eine Anwendung registriert werden m\u00fcsse, um die f\u00fcr die Authentifizierung erforderlichen Anmeldeinformationen zu erhalten.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10967\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-175817-1.png\" alt=\"\" width=\"581\" height=\"599\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-175817-1.png 581w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-175817-1-291x300.png 291w\" sizes=\"auto, (max-width: 581px) 100vw, 581px\" \/><\/p>\n<ul>\n<li>Der Name ist frei, ich habe <strong>Home OneDrive Backups-Assistent<\/strong><\/li>\n<li>Der Kontotyp ist <strong>Nur Einzelmieter<\/strong><\/li>\n<li>Die Weiterleitungs-URL lautet:<strong> Web https:\/\/my.home-Assistant.io\/redirect\/oauth<\/strong><\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"La_recuperation_des_identifiants\"><\/span>Wiederherstellung von Identifikatoren<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Nach der Registrierung gelangte ich auf die \u00dcbersichtsseite. Ich fand darin die beiden wichtigsten Informationen f\u00fcr das weitere Vorgehen: l<strong>Verzeichnis-ID (Mieter)<\/strong>, die dem <strong>Halter-ID<\/strong>, und<strong>Anwendungs-ID (Kunde)<\/strong>, die dem <strong>Client-ID<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10960\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-180011.png\" alt=\"\" width=\"216\" height=\"179\" \/><\/p>\n<p>Ich habe diese beiden Werte sofort notiert, da Home Assistant sie w\u00e4hrend des Installationsassistenten anfordert.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"La_creation_du_secret_client\"><\/span>Die Schaffung des Kundengeheimnisses<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Die letzte fehlende Angabe war das Anwendungsgeheimnis. Im App-Men\u00fc habe ich ge\u00f6ffnet <strong>Zertifikate &amp; Geheimnisse<\/strong>, dann habe ich eine <strong>Neues Kundengeheimnis<\/strong>. Microsoft erm\u00f6glicht das Hinzuf\u00fcgen einer Beschreibung und die Auswahl einer G\u00fcltigkeitsdauer.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10968\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-180851-1.png\" alt=\"\" width=\"832\" height=\"551\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-180851-1.png 832w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-180851-1-300x199.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-180851-1-768x509.png 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-180851-1-600x397.png 600w\" sizes=\"auto, (max-width: 832px) 100vw, 832px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10955\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-180922.png\" alt=\"\" width=\"586\" height=\"157\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-180922.png 586w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-180922-300x80.png 300w\" sizes=\"auto, (max-width: 586px) 100vw, 586px\" \/><\/p>\n<p>Nach der Generierung des Geheimnisses kopierte ich seine <strong>Wert<\/strong> sofort. Dieser Schritt ist wichtig, da dieser Wert in den Home Assistant eingef\u00fcgt werden muss und nicht die Kennung des Geheimnisses.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10982\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-181015.png\" alt=\"\" width=\"1014\" height=\"215\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-181015.png 1014w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-181015-300x64.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-181015-768x163.png 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-181015-600x127.png 600w\" sizes=\"auto, (max-width: 1014px) 100vw, 1014px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Les_permissions_necessaires\"><\/span>Erforderliche Berechtigungen<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Bevor Sie Entra verlassen, m\u00fcssen Sie der soeben hinzugef\u00fcgten Registrierung Erlaubnisse erteilen.<\/p>\n<p>Folgende Genehmigungen sind erforderlich:<\/p>\n<ul>\n<li><code>Files.ReadWrite.All<\/code> : erm\u00f6glicht es der Anwendung, in einem beliebigen OneDrive-Ordner zu lesen und zu schreiben. Im Gegensatz zu OneDrive Personal unterst\u00fctzt OneDrive for Business keine Berechtigungen <code>Files.ReadWrite.AppFolder<\/code>, also sind dies die minimal m\u00f6glichen erlaubnisse.<\/li>\n<li><code>offline_access<\/code> : erm\u00f6glicht es der Anwendung, ihr Authentifizierungstoken ohne manuelles Eingreifen automatisch zu erneuern.<\/li>\n<li><code>openid<\/code> : erm\u00f6glicht es der App, grundlegende Informationen zu lesen, z. B. wenn ich ein OneDrive h\u00e4tte.<\/li>\n<\/ul>\n<p>Ich gehe also in <strong>Zul\u00e4ssige APIs<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10970\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-183400-1.png\" alt=\"\" width=\"261\" height=\"207\" \/><\/p>\n<p>Derzeit gibt es nichts anderes als Microsoft Graph User.read.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10971\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-183934-1.png\" alt=\"\" width=\"1030\" height=\"343\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-183934-1.png 1030w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-183934-1-300x100.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-183934-1-1024x341.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-183934-1-768x256.png 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-183934-1-600x200.png 600w\" sizes=\"auto, (max-width: 1030px) 100vw, 1030px\" \/><\/p>\n<p>Ich gehe auf <strong>Autorisierung hinzuf\u00fcgen<\/strong><\/p>\n<p>In dem Fenster, das sich \u00f6ffnet, behalte ich <strong>Delegierte Genehmigungen<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10944\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-184139.png\" alt=\"\" width=\"584\" height=\"345\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-184139.png 584w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-184139-300x177.png 300w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/p>\n<p>und unten werde ich die drei Berechtigungen in der Suchmaschine suchen, um sie einzeln anzukreuzen:<\/p>\n<ul>\n<li><code>Files.ReadWrite.All<\/code><\/li>\n<li><code>offline_access<\/code><\/li>\n<li><code>openid<\/code><\/li>\n<\/ul>\n<p>Ich stimme zu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10975\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decan-2026-03-06-185206.png\" alt=\"\" width=\"1024\" height=\"266\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decan-2026-03-06-185206.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decan-2026-03-06-185206-300x78.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decan-2026-03-06-185206-768x200.png 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decan-2026-03-06-185206-600x156.png 600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Es fehlt die Zustimmung des Administrators, ich st\u00fctze mich auf <strong>Zustimmung des Administrators erteilen<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10976\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decrn-2026-03-06-185230.png\" alt=\"\" width=\"1035\" height=\"252\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decrn-2026-03-06-185230.png 1035w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decrn-2026-03-06-185230-300x73.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decrn-2026-03-06-185230-1024x249.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decrn-2026-03-06-185230-768x187.png 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decrn-2026-03-06-185230-600x146.png 600w\" sizes=\"auto, (max-width: 1035px) 100vw, 1035px\" \/><\/p>\n<p>Dies ist f\u00fcr die Konfiguration im Microsoft Admin-Panel abgeschlossen.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Le_retour_dans_Home_Assistant\"><\/span>Zur\u00fcck zu Home Assistant<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Zur\u00fcck im Home Assistant \u00fcbernahm ich den Einrichtungsassistenten von OneDrive for Business. Ich habe mich zun\u00e4chst an den <strong>Halter-ID<\/strong>, d. h. die ID des in Entra abgerufenen Mieterverzeichnisses.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10937\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-174457.png\" alt=\"\" width=\"593\" height=\"387\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-174457.png 593w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-174457-300x196.png 300w\" sizes=\"auto, (max-width: 593px) 100vw, 593px\" \/><\/p>\n<p>Dann fragte mich Home Assistant nach den OAuth-Kennungen der App.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10969\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-181050.png\" alt=\"\" width=\"600\" height=\"563\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-181050.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-181050-300x282.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Les_champs_a_remplir\"><\/span>Die auszuf\u00fcllenden Felder<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Im Fenster zum Hinzuf\u00fcgen der Anwendungskennungen habe ich einen freien Namen eingegeben, um diese Verbindung leicht zu erkennen (z. B. Onedrive), und dann die<strong>OAuth-Client-ID<\/strong> entsprechend der Anwendungs-ID (Client) sowie dem <strong>Kundengeheimnis OAuth<\/strong> Entspricht dem Wert des in Entra erstellten Geheimnisses.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10952\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-181103.png\" alt=\"\" width=\"588\" height=\"294\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-181103.png 588w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-181103-300x150.png 300w\" sizes=\"auto, (max-width: 588px) 100vw, 588px\" \/><\/p>\n<p>Nach der Validierung dieser Felder startete Home Assistant den Microsoft-Authentifizierungsassistenten.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Le_cas_particulier_de_lapprobation_administrateur\"><\/span>Der Sonderfall der Genehmigung durch den Verwalter<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10977\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decrn-2026-03-06-182437.png\" alt=\"\" width=\"456\" height=\"543\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decrn-2026-03-06-182437.png 456w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decrn-2026-03-06-182437-252x300.png 252w\" sizes=\"auto, (max-width: 456px) 100vw, 456px\" \/><\/p>\n<p>Irgendwann stie\u00df ich auf dieses Fenster, weil ich die API-Berechtigungen falsch konfiguriert hatte. Mit dem, was oben erkl\u00e4rt wurde, hat alles funktioniert.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Le_choix_du_compte_reellement_utilise\"><\/span>Die Wahl des tats\u00e4chlich verwendeten Kontos<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Ich habe auch einen wichtigen Punkt w\u00e4hrend der Konfiguration festgestellt: Das tats\u00e4chlich mit der Integration verkn\u00fcpfte Konto ist das Konto, das die OAuth-Authentifizierung abschlie\u00dft.<\/p>\n<p>Wenn Sie die Anwendung mit einem Administratorkonto erstellt haben, bedeutet dies nicht unbedingt, dass OneDrive des Administratorkontos verwendet wird, sofern die entsprechende Einwilligung ordnungsgem\u00e4\u00df erteilt und die endg\u00fcltige Authentifizierung mit dem richtigen Benutzerkonto durchgef\u00fchrt wird.<\/p>\n<p>Ich rate dringend davon ab, das Administratorkonto f\u00fcr etwas anderes als die Einrichtung zu verwenden, da Home Assistant mit einem Benutzerkonto verkn\u00fcpft sein muss.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Le_dossier_de_destination_pour_les_sauvegardes\"><\/span>Der Zielordner f\u00fcr Backups<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10949\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-181706.png\" alt=\"\" width=\"589\" height=\"319\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-181706.png 589w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-181706-300x162.png 300w\" sizes=\"auto, (max-width: 589px) 100vw, 589px\" \/><\/p>\n<p>Nach Abschluss der Authentifizierung fragte mich Home Assistant nach dem Pfad zu dem Ordner, in dem die Sicherungen gespeichert w\u00fcrden. Aus der Dokumentation geht hervor, dass dieser Ordner im Stammverzeichnis des ausgew\u00e4hlten OneDrive erstellt wird, wenn er nicht existiert.<\/p>\n<p>Ich konnte einen einfachen Weg w\u00e4hlen, z. B. <code>Backups<\/code>, <code>HomeAssistant<\/code> Oder ein Baum wie <code>HomeAssistant\/Backups<\/code>.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Le_resultat_dans_Home_Assistant\"><\/span>Das Ergebnis in Home Assistant<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Nach der Validierung wurde die OneDrive for Business-Integration erfolgreich in den Home Assistant aufgenommen.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10938\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-185437.png\" alt=\"\" width=\"663\" height=\"327\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-185437.png 663w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-185437-300x148.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-185437-600x296.png 600w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/p>\n<p>Ich konnte sein Integrationsblatt und die exponierten Sensoren sehen, einschlie\u00dflich des genutzten Raums, des verbleibenden Raums und des Zustands des Antriebs.<\/p>\n<p>Aus der Dokumentation geht im \u00dcbrigen hervor, dass die Integration Speichersensoren und einen Zustand des Laufwerks wie <code>Normal<\/code>, <code>Nearing limit<\/code>, <code>Critical<\/code> oder <code>Exceeded<\/code>.<\/p>\n<p>Zu diesem Zeitpunkt war die Installation der Integration abgeschlossen, und OneDrive for Business war bereit, als Backup-Speicherort f\u00fcr Home Assistant verwendet zu werden.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Je_vais_verifier_si_le_dossier_a_bien_ete_cree_dans_OneDrive_facultatif\"><\/span>Ich werde \u00fcberpr\u00fcfen, ob der Ordner in OneDrive erstellt wurde (optional)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Aus Neugier melde ich mich bei meinem OneDrive an und sehe, dass der Ordner <strong>HomeAssistent<\/strong> Es ist gut pr\u00e4sent, derzeit leer, aber pr\u00e4sent, es ist perfekt.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10988\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-202037.png\" alt=\"\" width=\"636\" height=\"426\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-202037.png 636w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-202037-300x201.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-202037-600x402.png 600w\" sizes=\"auto, (max-width: 636px) 100vw, 636px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Je_configure_les_sauvegardes_Home_Assistant_vers_OneDrive_for_Business\"><\/span>Ich konfiguriere Home Assistant-Backups auf OneDrive for Business<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Die OneDrive for Business-Integration war nun im Home Assistant installiert und funktionsf\u00e4hig. Es musste nur noch verwendet werden, um die Sicherungen an mein OneDrive for Business zu senden.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Le_parametrage_des_sauvegardes\"><\/span>Parametrierung von Backups<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Ich habe die Seite \u201eBackups\u201c in <strong>Einstellungen &gt; System &gt; Sicherungen<\/strong>.<\/p>\n<p>Ich gehe dann in den Rahmen <strong>Sicherungseinstellungen<\/strong> dann <strong>Speichern in x Remote-Standorten<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10987\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-201743.png\" alt=\"\" width=\"705\" height=\"491\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-201743.png 705w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-201743-300x209.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-201743-600x418.png 600w\" sizes=\"auto, (max-width: 705px) 100vw, 705px\" \/><\/p>\n<p>In der Liste der verf\u00fcgbaren Speicherorte wurde OneDrive for Business jetzt angezeigt. Ich habe den Schalter f\u00fcr diese Integration aktiviert, um sie zu einem aktiven Ziel f\u00fcr automatische Sicherungen zu machen.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Les_options_de_retention\"><\/span>Aufbewahrungsoptionen<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In den \u2699-Einstellungen habe ich die Anzahl der Backups festgelegt, die auf OneDrive gespeichert werden sollen. Ich habe mich daf\u00fcr entschieden, 10 Backups pro Typ aufzubewahren, aber dieser Wert ist je nach Speicherbedarf und H\u00e4ufigkeit der Backups frei.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10989\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-202556.png\" alt=\"\" width=\"700\" height=\"344\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-202556.png 700w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-202556-300x147.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-202556-600x295.png 600w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>Ich habe auch die Verschl\u00fcsselungsoption aktiviert, da die Sicherungen sensible Daten aus der Home Assistant-Installation enthalten.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Le_premier_test_de_sauvegarde\"><\/span>Der erste Backup-Test<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Um zu \u00fcberpr\u00fcfen, ob alles funktioniert, habe ich ein manuelles Backup erstellt. Auf der Seite \u201eBackups\u201c klicke ich auf <strong>+ Jetzt sichern<\/strong>, nahm ich automatisch, um mir die Aufgabe zu erleichtern.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10990\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-202652.png\" alt=\"\" width=\"284\" height=\"60\" \/><\/p>\n<p>Ich habe die Gr\u00fcndung best\u00e4tigt.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Verification_dans_OneDrive\"><\/span>\u00dcberpr\u00fcfen in OneDrive<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Wenige Minuten sp\u00e4ter \u00f6ffnete ich OneDrive for Business in einem Browser. In dem Ordner, den ich bei der Installation der Integration eingerichtet hatte (z. B. <code>HomeAssistant<\/code>), war die neue Sicherung sehr pr\u00e4sent.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10991\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-203313.png\" alt=\"\" width=\"810\" height=\"188\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-203313.png 810w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-203313-300x70.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-203313-768x178.png 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2026\/03\/Capture-decran-2026-03-06-203313-600x139.png 600w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Configurer_les_sauvegardes_automatiques\"><\/span>Automatische Backups einrichten<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Um Sicherungen zu automatisieren, habe ich die Option <strong>Automatische Sicherungen<\/strong> in den Parametern. Ich habe mich f\u00fcr eine w\u00f6chentliche H\u00e4ufigkeit mit einer vollst\u00e4ndigen Sicherung jeden Sonntag und teilweisen Sicherungen an Wochentagen entschieden.<\/p>\n<p>Da OneDrive for Business als Ziel aktiviert war, gingen alle diese Backups automatisch in die Cloud, ohne dass manuelle Eingriffe erforderlich waren.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Surveillance_des_sauvegardes\"><\/span>\u00dcberwachung von Backups<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Dank der durch die Integration bereitgestellten Sensoren habe ich meinem Haupt-Dashboard eine Diagnosekarte hinzugef\u00fcgt. Auf dieser Karte werden der auf OneDrive verwendete Speicherplatz, der verbleibende Speicherplatz und der Speicherstatus (Normal, Nearing limit, Critical, Exceeded) angezeigt.<\/p>\n<p>Auf diese Weise kann ich leicht \u00fcberwachen, ob der OneDrive-Bereich m\u00f6glicherweise nicht verf\u00fcgbar ist.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Les_bonnes_pratiques\"><\/span>Bew\u00e4hrte Verfahren<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Seit der Installation sind Sicherungen problemlos m\u00f6glich. Als zus\u00e4tzliche Vorsichtsma\u00dfnahme habe ich ein lokales Backup beibehalten, aber OneDrive for Business ist jetzt mein prim\u00e4res Ziel, um Datenverluste bei Hardwareproblemen auf dem Home Assistant-Server zu vermeiden.<\/p>\n<p>Ich empfehle, ein Backup regelm\u00e4\u00dfig zu testen und seine Wiederherstellung zu \u00fcberpr\u00fcfen, um sicherzustellen, dass alles ordnungsgem\u00e4\u00df funktioniert.<\/p>","protected":false},"excerpt":{"rendered":"<p>Ich wollte OneDrive for Business als Backup-Ziel in Home Assistant verwenden. Die offizielle Integration erm\u00f6glicht es zwar, Sicherungen an OneDrive for Business zu senden, erfordert jedoch die vorherige Vorbereitung einer Anwendung in Microsoft Entra mit einer Tenant-ID, einer Client-ID, einem geheimen Client und einer genauen Weiterleitungs-URI. Voraussetzungen Bevor Sie beginnen, [...]<\/p>","protected":false},"author":1,"featured_media":10993,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,53,24],"tags":[],"class_list":["post-10934","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domotique","category-home-assistant","category-microsoft-365"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts\/10934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/comments?post=10934"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts\/10934\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/media\/10993"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/media?parent=10934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/categories?post=10934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/tags?post=10934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}