{"content":"<div></div>","rawMetadata":{"metadata":{"_op_canonicalUrlPrefix":"https://learn.microsoft.com/zh-tw/powershell/","_op_gitContributorInformation":{"author":{"display_name":"Banreet Kaur","id":"92906285","name":"Banreet","profile_url":"https://github.com/Banreet"},"contributors":[{"display_name":"Alex Buck","id":"27705684","name":"alexbuckgit","profile_url":"https://github.com/alexbuckgit"},{"display_name":"Aaron Czechowski","id":"26784733","name":"aczechowski","profile_url":"https://github.com/aczechowski"}],"update_at":"2026/8/3","updated_at_date_time":"2026-08-03T08:48:50.8107005Z"},"_path":"module/configurationmanager/set-cmcloudmanagementazureservice.json","_rel":"../../","_tocRel":"../sccm-ps/toc.json","apiPlatform":"powershell","author":"Banreet","breadcrumb_path":"/powershell/sccm/bread/toc.json","canonical_url":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/set-cmcloudmanagementazureservice?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/Set-CMCloudManagementAzureService.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","document_id":"409bb59c-2f0e-48b7-7e35-0fe4969c11af","document_version_independent_id":"d8779406-8b1a-22b5-a611-634827fb7f2f","external help file":"AdminUI.PS.dll-Help.xml","feedback_product_url":"https://feedbackportal.microsoft.com/feedback/forum/4669adfc-ee1b-ec11-b6e7-0022481f8472","feedback_system":"Standard","git_commit_id":"f69582fd5f23f80e432c3d68a59bc14785063ef3","gitcommit":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/f69582fd5f23f80e432c3d68a59bc14785063ef3/sccm-ps/ConfigurationManager/Set-CMCloudManagementAzureService.md","github_contributors":["alexbuckgit","aczechowski"],"locale":"zh-tw","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"11/20/2020","ms.service":"microsoft-endpoint-configuration-manager","ms.subservice":"other","ms.topic":"reference","online version":"","open_to_public_contributors":true,"original_content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/live/sccm-ps/ConfigurationManager/Set-CMCloudManagementAzureService.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/Set-CMCloudManagementAzureService.md","PlatyPS schema version":"2.0.0","products":["https://authoring-docs-microsoft.poolparty.biz/devrel/f1499c3b-793f-48c3-a9ce-20285bcc6541"],"site_name":"Docs","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-08-03 08:48 AM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/set-cmcloudmanagementazureservice","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Set-CMCloudManagementAzureService","schemaType":"PowershellCmdlet","summary":"<p>在 Configuration Manager 中修改 <strong>適用於雲端管理</strong> 的 Azure 服務設定。</p>\n","uid":"ConfigurationManager.Set-CMCloudManagementAzureService"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.Set-CMCloudManagementAzureService":{"href":"set-cmcloudmanagementazureservice","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Set-CMCloudManagementAzureService","schemaType":"PowershellCmdlet","summary":"<p>在 Configuration Manager 中修改 <strong>適用於雲端管理</strong> 的 Azure 服務設定。</p>\n","uid":"ConfigurationManager.Set-CMCloudManagementAzureService"}},"description":"<p>使用此 Cmdlet 來修改 Configuration Manager 中適用於 <strong>雲端管理</strong>的 Azure 服務設定。</p>\n<p>如需 <strong>雲端管理</strong> 服務的詳細資訊，請參閱 <a href=\"/mem/configmgr/core/clients/manage/cmg/overview\">CMG概觀</a>。</p>\n","examples":[{"code":"Get-CMAzureService -Name \"Contoso\" | Set-CMCloudManagementAzureService -NewName \"CMG service\" -Description \"ConfigMgr connection to Contoso tenant for CMG\"","description":"","summary":"<p>此範例會先使用 <strong>Get-CMAzureService</strong> Cmdlet 從月臺取得服務。 然後，它會使用管線運算符將該對象傳遞至 <strong>Set-CMCloudManagementAzureService</strong>，以重新命名並設定描述。</p>\n","title":"範例 1"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">Microsoft.ConfigurationManagement.ManagementProvider.IResultObject</span>\n"}],"links":[{"href":"import-cmaadserverapplication","text":"Import-CMAADServerApplication"},{"href":"import-cmaadclientapplication","text":"Import-CMAADClientApplication"},{"href":"new-cmcloudmanagementazureservice","text":"New-CMCloudManagementAzureService"},{"href":"new-cmcloudmanagementgateway","text":"New-CMCloudManagementGateway"},{"href":"add-cmcloudmanagementgatewayconnectionpoint","text":"Add-CMCloudManagementGatewayConnectionPoint"},{"href":"/mem/configmgr/core/clients/manage/cmg/overview","text":"CMG 概觀"}],"module":"ConfigurationManager","name":"Set-CMCloudManagementAzureService","notes":"","outputs":[{"description":"","name":"<span class=\"no-loc xref\">System.Object</span>\n"}],"parameters":[{"aliases":"AddGroupNames","defaultValue":"None","description":"<p>指定要探索的 Microsoft Entra 組名。 搭配 <strong>EnableGroupDiscovery</strong> 參數使用此參數。</p>\n","name":"AddGroupName","parameterValueGroup":"","position":"Named","type":"<p><span class=\"no-loc xref\">String</span><span>[</span><span>]</span></p>\n"},{"aliases":"cf","defaultValue":"None","description":"<p>執行 Cmdlet 之前提示您確認。</p>\n","name":"Confirm","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"DeleteGroupNames","defaultValue":"None","description":"<p>指定要從探索中移除的 Microsoft Entra 組名。</p>\n","name":"DeleteGroupName","parameterValueGroup":"","position":"Named","type":"<p><span class=\"no-loc xref\">String</span><span>[</span><span>]</span></p>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定服務的選擇性描述。</p>\n","name":"Description","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>此參數會將通配符視為常值字元值。 您無法將其與 <strong>ForceWildcardHandling</strong> 結合。</p>\n","name":"DisableWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>讓 Configuration Manager 將集合同步至 Microsoft ENtra ID 中的群組。 如需詳細資訊，請 <a href=\"/mem/configmgr/core/clients/manage/collections/create-collections#bkmk_aadcollsync\">參閱將成員同步至 Microsoft 群組</a>。</p>\n","name":"EnableAADGroupSync","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Boolean</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>將此參數設定為 ， <code>true</code> 以啟用 Microsoft Entra 群組探索的差異探索。 搭配 <strong>EnableGroupDiscovery</strong> 參數使用此參數。 使用 <strong>GroupDeltaDiscoveryMins</strong> 參數來設定差異探索間隔。</p>\n","name":"EnableGroupDeltaDiscovery","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Boolean</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>將此參數設定為 ， <code>true</code> 以啟用Microsoft群組探索。 當您啟用此發現方法時，也請設定下列參數：</p>\n<ul>\n<li>\n              <strong>AddGroupName</strong>：新增Microsoft要探索的 Entra 群組</li>\n<li>\n              <strong>EnableGroupDeltaDiscovery</strong>：設定差異探索</li>\n<li>\n              <strong>GroupDeltaDiscoveryMins</strong>：差異探索間隔</li>\n<li>\n              <strong>GroupDiscoverySchedule</strong>：完整輪詢排程</li>\n</ul>\n<p>如需此發現方法的詳細資訊，請<a href=\"/mem/configmgr/core/servers/deploy/configure/about-discovery-methods#bkmk_azuregroupdisco\">參閱Microsoft使用者群組探索。</a></p>\n","name":"EnableGroupDiscovery","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Boolean</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>將此參數設定為 ， <code>true</code> 以啟用 Microsoft Entra 使用者探索的差異探索。 搭配 <strong>EnableUserDiscovery</strong> 參數使用此參數。</p>\n","name":"EnableUserDeltaDiscovery","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Boolean</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>將此參數設定為 ， <code>true</code> 以啟用 Microsoft 使用者探索。 當您啟用此發現方法時，也請設定下列參數：</p>\n<ul>\n<li>\n              <strong>EnableUserDeltaDiscovery</strong>：設定差異探索</li>\n<li>\n              <strong>UserDeltaDiscoveryMins</strong>：差異探索間隔</li>\n<li>\n              <strong>UserDiscoverySchedule</strong>：完整輪詢排程</li>\n</ul>\n<p>如需此發現方法的詳細資訊，請<a href=\"/mem/configmgr/core/servers/deploy/configure/about-discovery-methods#azureaddisc\">參閱Microsoft使用者探索。</a></p>\n","name":"EnableUserDiscovery","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Boolean</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>此參數會處理通配符，並可能導致非預期的行為 (不建議) 。 您無法將其與 <strong>DisableWildcardHandling</strong> 結合。</p>\n","name":"ForceWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>當您使用 <strong>EnableGroupDeltaDiscovery</strong> 參數啟用 Microsoft Entra 群組探索的差異探索時，請使用此參數來設定差異探索間隔。 您指定的整數值是以分鐘為單位的輪詢間隔。</p>\n","name":"GroupDeltaDiscoveryMins","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Int32</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定Microsoft Entra 群組探索完整輪詢排程的排程物件。 若要取得此物件，請使用 <a href=\"new-cmschedule\">New-CMSchedule</a> Cmdlet。</p>\n","name":"GroupDiscoverySchedule","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"AzureServiceId","defaultValue":"None","description":"<p>指定 Azure 服務的站台標識碼。 \n              <strong>Id 是</strong>儲存在服務之月臺資料庫中的整數值。 例如，執行下列 SQL 查詢，並 <strong>查看標識碼</strong> 數據行： <code>select * from Azure_CloudService</code>。</p>\n","isRequired":true,"name":"Id","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Int32</span>\n"},{"aliases":"AzureService","defaultValue":"None","description":"<p>指定要設定的 Azure 服務物件。 若要取得此物件，請使用 <a href=\"get-cmazureservice\">Get-CMAzureService</a> Cmdlet。</p>\n","isRequired":true,"name":"InputObject","parameterValueGroup":"","pipelineInput":true,"position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"AzureServiceName","defaultValue":"None","description":"<p>指定名稱以區別 Configuration Manager 中的 <strong>雲端管理</strong> 服務。</p>\n","isRequired":true,"name":"Name","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>使用此參數在 Configuration Manager 中重新命名 <strong>雲端管理</strong> 服務。</p>\n","name":"NewName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>傳回 物件，表示您正在使用的專案。 根據預設，此 Cmdlet 可能不會產生任何輸出。</p>\n","name":"PassThru","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>當您使用 <strong>EnableUserDeltaDiscovery</strong> 參數啟用 Microsoft Entra 使用者探索的差異探索時，請使用此參數來設定差異探索間隔。 您指定的整數值是以分鐘為單位的輪詢間隔。</p>\n","name":"UserDeltaDiscoveryMins","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Int32</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定 Microsoft Entra 使用者探索完整輪詢排程的排程物件。 若要取得此物件，請使用 <a href=\"new-cmschedule\">New-CMSchedule</a> Cmdlet。</p>\n","name":"UserDiscoverySchedule","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"wi","defaultValue":"None","description":"<p>顯示執行 Cmdlet 時會發生什麼情況。 Cmdlet 不會執行。</p>\n","name":"WhatIf","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>在 Configuration Manager 中修改 <strong>適用於雲端管理</strong> 的 Azure 服務設定。</p>\n","syntaxes":["Set-CMCloudManagementAzureService [-AddGroupName <String[]>] [-DeleteGroupName <String[]>]\n [-Description <String>] [-EnableAADGroupSync <Boolean>] [-EnableGroupDeltaDiscovery <Boolean>]\n [-EnableGroupDiscovery <Boolean>] [-EnableUserDeltaDiscovery <Boolean>] [-EnableUserDiscovery <Boolean>]\n [-GroupDeltaDiscoveryMins <Int32>] [-GroupDiscoverySchedule <IResultObject>] -InputObject <IResultObject>\n [-NewName <String>] [-PassThru] [-UserDeltaDiscoveryMins <Int32>] [-UserDiscoverySchedule <IResultObject>]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Set-CMCloudManagementAzureService [-AddGroupName <String[]>] [-DeleteGroupName <String[]>]\n [-Description <String>] [-EnableAADGroupSync <Boolean>] [-EnableGroupDeltaDiscovery <Boolean>]\n [-EnableGroupDiscovery <Boolean>] [-EnableUserDeltaDiscovery <Boolean>] [-EnableUserDiscovery <Boolean>]\n [-GroupDeltaDiscoveryMins <Int32>] [-GroupDiscoverySchedule <IResultObject>] -Id <Int32> [-NewName <String>]\n [-PassThru] [-UserDeltaDiscoveryMins <Int32>] [-UserDiscoverySchedule <IResultObject>]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Set-CMCloudManagementAzureService [-AddGroupName <String[]>] [-DeleteGroupName <String[]>]\n [-Description <String>] [-EnableAADGroupSync <Boolean>] [-EnableGroupDeltaDiscovery <Boolean>]\n [-EnableGroupDiscovery <Boolean>] [-EnableUserDeltaDiscovery <Boolean>] [-EnableUserDiscovery <Boolean>]\n [-GroupDeltaDiscoveryMins <Int32>] [-GroupDiscoverySchedule <IResultObject>] -Name <String>\n [-NewName <String>] [-PassThru] [-UserDeltaDiscoveryMins <Int32>] [-UserDiscoverySchedule <IResultObject>]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]"],"uid":"ConfigurationManager.Set-CMCloudManagementAzureService","hideEdit":true,"ms.translationtype":"MT","ms.contentlocale":"zh-tw","loc_version":"2024-08-21T21:18:36.7205003Z","loc_source_id":"Github-72476255#live","loc_file_id":"Github-72476255.live.MSDN.sccm-powershell.sccm-ps/ConfigurationManager/Set-CMCloudManagementAzureService.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/set-cmcloudmanagementazureservice","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Set-CMCloudManagementAzureService","schemaType":"PowershellCmdlet","summary":"<p>在 Configuration Manager 中修改 <strong>適用於雲端管理</strong> 的 Azure 服務設定。</p>\n","uid":"ConfigurationManager.Set-CMCloudManagementAzureService"}],"canonical_url":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/set-cmcloudmanagementazureservice?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/set-cmcloudmanagementazureservice?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>使用此 Cmdlet 來修改 Configuration Manager 中適用於 <strong>雲端管理</strong>的 Azure 服務設定。</p>\n<p>如需 <strong>雲端管理</strong> 服務的詳細資訊，請參閱 <a href=&quot;/mem/configmgr/core/clients/manage/cmg/overview&quot;>CMG概觀</a>。</p>\n\" />\r\n<meta name=\"hideEdit\" content=\"true\" />\r\n<meta name=\"loc_file_id\" content=\"Github-72476255.live.MSDN.sccm-powershell.sccm-ps/ConfigurationManager/Set-CMCloudManagementAzureService.md\" />\r\n<meta name=\"loc_source_id\" content=\"Github-72476255#live\" />\r\n<meta name=\"loc_version\" content=\"2024-08-21T21:18:36.7205003Z\" />\r\n<meta name=\"module\" content=\"ConfigurationManager\" />\r\n<meta name=\"ms.contentlocale\" content=\"zh-tw\" />\r\n<meta name=\"ms.translationtype\" content=\"MT\" />\r\n<meta name=\"name\" content=\"Set-CMCloudManagementAzureService\" />\r\n<meta name=\"notes\" content=\"\" />\r\n<meta name=\"schema\" content=\"PowershellCmdlet\" />\r\n<meta name=\"summary\" content=\"<p>在 Configuration Manager 中修改 <strong>適用於雲端管理</strong> 的 Azure 服務設定。</p>\n\" />\r\n<meta name=\"syntaxes\" content=\"Set-CMCloudManagementAzureService [-AddGroupName <String[]>] [-DeleteGroupName <String[]>]\n [-Description <String>] [-EnableAADGroupSync <Boolean>] [-EnableGroupDeltaDiscovery <Boolean>]\n [-EnableGroupDiscovery <Boolean>] [-EnableUserDeltaDiscovery <Boolean>] [-EnableUserDiscovery <Boolean>]\n [-GroupDeltaDiscoveryMins <Int32>] [-GroupDiscoverySchedule <IResultObject>] -InputObject <IResultObject>\n [-NewName <String>] [-PassThru] [-UserDeltaDiscoveryMins <Int32>] [-UserDiscoverySchedule <IResultObject>]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Set-CMCloudManagementAzureService [-AddGroupName <String[]>] [-DeleteGroupName <String[]>]\n [-Description <String>] [-EnableAADGroupSync <Boolean>] [-EnableGroupDeltaDiscovery <Boolean>]\n [-EnableGroupDiscovery <Boolean>] [-EnableUserDeltaDiscovery <Boolean>] [-EnableUserDiscovery <Boolean>]\n [-GroupDeltaDiscoveryMins <Int32>] [-GroupDiscoverySchedule <IResultObject>] -Id <Int32> [-NewName <String>]\n [-PassThru] [-UserDeltaDiscoveryMins <Int32>] [-UserDiscoverySchedule <IResultObject>]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Set-CMCloudManagementAzureService [-AddGroupName <String[]>] [-DeleteGroupName <String[]>]\n [-Description <String>] [-EnableAADGroupSync <Boolean>] [-EnableGroupDeltaDiscovery <Boolean>]\n [-EnableGroupDiscovery <Boolean>] [-EnableUserDeltaDiscovery <Boolean>] [-EnableUserDiscovery <Boolean>]\n [-GroupDeltaDiscoveryMins <Int32>] [-GroupDiscoverySchedule <IResultObject>] -Name <String>\n [-NewName <String>] [-PassThru] [-UserDeltaDiscoveryMins <Int32>] [-UserDiscoverySchedule <IResultObject>]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.Set-CMCloudManagementAzureService\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}