{"id":1103,"date":"2021-04-08T13:12:06","date_gmt":"2021-04-08T06:12:06","guid":{"rendered":"https:\/\/www.otakudang.org\/?p=1103"},"modified":"2021-04-12T06:25:27","modified_gmt":"2021-04-11T23:25:27","slug":"tips-problem-perintah-connect-microsoftteams-tidak-dikenali","status":"publish","type":"post","link":"https:\/\/www.otakudang.org\/?p=1103","title":{"rendered":"[tips] Problem Perintah Connect-MicrosoftTeams Tidak Dikenali"},"content":{"rendered":"\n<p>Sering beberapa kali pada saat pindah laptop\/PC untuk mengakses Microsoft Teams cmdlet mengalami kendala perintah tidak dikenali seperti berikut ini:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">PS C:\\windows\\system32> Install-Module MicrosoftTEams\nPS C:\\windows\\system32> Connect-MicrosoftTeams\nConnect-MicrosoftTeams : The term 'Connect-MicrosoftTeams' is not recognized as the name of a cmdlet, function, script\nfile, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct\nand try again.\nAt line:1 char:1\n+ Connect-MicrosoftTeams\n+ ~~~~~~~~~~~~~~~~~~~~~~\n    + CategoryInfo          : ObjectNotFound: (Connect-MicrosoftTeams:String) [], CommandNotFoundException\n    + FullyQualifiedErrorId : CommandNotFoundException\n<\/pre>\n\n\n\n<p>Kalau dibaca-baca di beberapa mailing-list, ini karena <em>environment PowerShell<\/em> untuk keamanan terhadap <em>script <\/em>yang tidak dikenal dan berbahaya. Tapi ya belum paham-paham banget detailnya bagaimana. Cuma dapat saran untuk menjalankan perintah berikut ini:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">PS C:\\windows\\system32> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned<\/pre>\n\n\n\n<p>Lalu pilih <em>All<\/em> jika muncul pertanyaan berikut:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Execution Policy Change\nThe execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose\nyou to the security risks described in the about_Execution_Policies help topic at\nhttps:\/go.microsoft.com\/fwlink\/?LinkID=135170. Do you want to change the execution policy?\n[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is \"N\"): a<\/pre>\n\n\n\n<p>Setelah itu kita dapat menjalakan MSTeams CmdLet.  Dari petunjuk tersebut juga diarahkan untuk membaca doc di <a href=\"https:\/go.microsoft.com\/fwlink\/?LinkID=135170\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/go.microsoft.com\/fwlink\/?LinkID=135170<\/a>. <\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Bagaimana kalo di Ubuntu?<\/h3>\n\n\n\n<p>Jika menjalankan <em>cmdlet Microsoft Teams <\/em>dari <em>powershell <\/em>Ubuntu, tidak memerlukan setting policy seperti di atas. Setelah menginstall module, langsung bisa menjalankan <em>Connect-MicrosoftTeams<\/em>. <\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Tautan<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/go.microsoft.com\/fwlink\/?LinkID=135170\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/go.microsoft.com\/fwlink\/?LinkID=135170<\/a><\/li><li><a href=\"https:\/\/answers.microsoft.com\/en-us\/msoffice\/forum\/msoffice_o365admin-mso_teams-mso_o365b\/the-term-connect-microsoftteams-is-not-recognized\/292044e2-b841-48d9-a902-57ccbb10e64e\">The term &#8216;Connect-MicrosoftTeams&#8217; is not recognized as the &#8211; Microsoft Community<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Sering beberapa kali pada saat pindah laptop\/PC untuk mengakses Microsoft Teams cmdlet mengalami kendala perintah tidak dikenali seperti berikut ini: Kalau dibaca-baca di beberapa mailing-list, ini karena environment PowerShell untuk keamanan terhadap script yang tidak dikenal dan berbahaya. Tapi ya belum paham-paham banget detailnya bagaimana. Cuma dapat saran untuk menjalankan perintah berikut ini: Lalu pilih &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.otakudang.org\/?p=1103\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;[tips] Problem Perintah Connect-MicrosoftTeams Tidak Dikenali&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-1103","post","type-post","status-publish","format-standard","hentry","category-msteams","entry"],"_links":{"self":[{"href":"https:\/\/www.otakudang.org\/index.php?rest_route=\/wp\/v2\/posts\/1103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.otakudang.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.otakudang.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.otakudang.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.otakudang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1103"}],"version-history":[{"count":4,"href":"https:\/\/www.otakudang.org\/index.php?rest_route=\/wp\/v2\/posts\/1103\/revisions"}],"predecessor-version":[{"id":1108,"href":"https:\/\/www.otakudang.org\/index.php?rest_route=\/wp\/v2\/posts\/1103\/revisions\/1108"}],"wp:attachment":[{"href":"https:\/\/www.otakudang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.otakudang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.otakudang.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}