{"id":11455,"date":"2025-12-16T11:02:48","date_gmt":"2025-12-16T11:02:48","guid":{"rendered":"https:\/\/myworldofit.net\/?p=11455"},"modified":"2025-12-16T11:09:10","modified_gmt":"2025-12-16T11:09:10","slug":"connect-sposervice-with-a-yubikey","status":"publish","type":"post","link":"https:\/\/myworldofit.net\/?p=11455","title":{"rendered":"Connect-SPOService with a YubiKey"},"content":{"rendered":"<p>When connecting to SharePoint using PowerShell the default authentication prompt does not permit the use of hardware security keys (such as YubiKeys or the Security Key by Yubico), to get around this limitation use the <strong>-UseSystemBrowser $true<\/strong> parameter at the end of the connection command.<\/p>\n<p><a href=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2025\/12\/Connect-SPOService.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11456\" src=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2025\/12\/Connect-SPOService.png\" alt=\"\" width=\"600\" height=\"17\" srcset=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2025\/12\/Connect-SPOService.png 866w, https:\/\/myworldofit.net\/wp-content\/uploads\/2025\/12\/Connect-SPOService-300x8.png 300w, https:\/\/myworldofit.net\/wp-content\/uploads\/2025\/12\/Connect-SPOService-768x21.png 768w, https:\/\/myworldofit.net\/wp-content\/uploads\/2025\/12\/Connect-SPOService-800x24.png 800w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Reference example 6 (at time of publication) at: <a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/microsoft.online.sharepoint.powershell\/connect-sposervice?view=sharepoint-ps#example-6\">https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/microsoft.online.sharepoint.powershell\/connect-sposervice?view=sharepoint-ps#example-6<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When connecting to SharePoint using PowerShell the default authentication prompt does not permit the use of hardware security keys (such as YubiKeys or the Security Key by Yubico), to get around this limitation use the -UseSystemBrowser $true parameter at the end of the connection command. Reference example 6 (at time of publication) at: https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/microsoft.online.sharepoint.powershell\/connect-sposervice?view=sharepoint-ps#example-6<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[20,22],"tags":[462,566,461,453],"series":[],"class_list":["post-11455","post","type-post","status-publish","format-standard","hentry","category-software","category-the-cloud","tag-security-key","tag-sharepoint","tag-yubico","tag-yubikey"],"_links":{"self":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/11455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11455"}],"version-history":[{"count":3,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/11455\/revisions"}],"predecessor-version":[{"id":11459,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/11455\/revisions\/11459"}],"wp:attachment":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11455"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=11455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}