Microsoft Places Microsoft 365 구독을 통해 자동으로 사용할 수 있습니다. 그러나 특정 사용자 또는 전체 organization 대해 Places 기능을 사용하지 않도록 설정할 수 있습니다.
전체 organization 대한 Microsoft Places 끄기
organization 모든 사용자에 대한 Microsoft Places 해제하려면 테넌트 설정을 사용하여 Places Core 기능을 끈 다음 organization 모든 사용자에 대해 Places 고급 서비스 계획을 사용하지 않도록 설정해야 합니다.
1단계: 핵심 기능 끄기
다음과 같이 Set-PlacesSettings cmdlet을 사용합니다.
관리자 권한으로 Powershell 7을 시작합니다.
다음 cmdlet을 실행하여 가장 업데이트된 Places 모듈이 있는지 확인합니다.
Install-Module -Name MicrosoftPlaces -ForceMicrosoft Places 연결합니다.
Connect-MicrosoftPlaces모든 사용자에 대해 핵심 기능을 사용하지 않도록 설정합니다.
Set-PlacesSettings -EnablePlacesWebApp 'Default:false' Set-PlacesSettings -EnableBuildings 'Default:false'
2단계: Places 고급 서비스 계획 사용 안 함
Places 고급은 "f8566154-2a62-48cb-a0ab-d4d25be26e51" 서비스 요금제에 의존합니다. Microsoft Graph PowerShell 스크립트를 사용하여 대량으로 사용하지 않도록 설정할 수 있습니다.
먼저 Microsoft Graph를 사용하여 라이선스를 관리하려면 Microsoft Graph 모듈을 설치하고 가져와야 합니다.
Install-Module Microsoft.Graph -Scope CurrentUser
Import-Module Microsoft.Graph
Microsoft Graph 설치 및 연결에 대한 자세한 내용은 Powershell을 사용하여 Microsoft 365 에 연결을 참조하세요.
그런 다음, 다음 단계에 따라 서비스 계획을 사용하지 않도록 설정합니다.
User.ReadWrite.All scope 사용하여 Microsoft Graph에 연결합니다.
Connect-Graph -Scopes "User.ReadWrite.All", "Application.Read.All"모든 사용자를 가져옵니다.
$users = Get-MgUser -AllPlaces_Enhanced 속한 skuId를 가져옵니다.
$skuId = (Get-MgUserLicenseDetail -UserId <userId that has Places_Enhanced> | Where-Object {$_.ServicePlans.ServicePlanName -contains "PLACES_ENHANCED" }).SkuId사용하지 않도록 설정하려는 계획의 서비스 계획 ID를 정의합니다.
$newDisablePlans= @(“f8566154-2a62-48cb-a0ab-d4d25be26e51")아래 스크립트를 실행하여 각 사용자에 대한 계획을 사용하지 않도록 설정합니다.
foreach ($user in $users) { $userUPN = $user.UserPrincipalName if ($userUPN -ne "") { $userLicense = Get-MgUserLicenseDetail -UserId $userUPN $disabledPlans = $userLicense.ServicePlans | Where-Object { $_.ProvisioningStatus -eq "Disabled" } | Select-Object -ExpandProperty ServicePlanId $allDisabledPlans = $disabledPlans + $newDisablePlans | Sort-Object -Unique $addLicenses = @(@{ SkuId = $skuId DisabledPlans = $allDisabledPlans }) Set-MgUserLicense -UserId $userUPN -AddLicenses $addLicenses -RemoveLicenses @() } }
참고
사용자에게 Teams Premium 할당하면 Places 고급 서비스 계획이 자동으로 추가됩니다. organization 사용자에게 새 Teams Premium 라이선스를 할당할 때마다 서비스 계획을 사용하지 않도록 설정하려면 이러한 단계를 다시 실행해야 합니다.
특정 사용자에 대한 Microsoft Places 끄기
organization 특정 사용자에 대한 Microsoft Places 끄려면 Places Core 기능을 끈 다음 이러한 사용자에 대한 Places 고급 서비스 계획을 사용하지 않도록 설정합니다.
중요
표준 보안 그룹을 사용하려는 경우 구성이 예상대로 작동하지 않을 수 있습니다. 적절한 기능을 보장하려면 보안 그룹을 메일 사용 보안 그룹으로 설정해야 합니다.
1단계: 특정 사용자에 대한 핵심 기능 끄기
Set-PlacesSettings의 지침에 따라 특정 사용자에 대해 EnablePlacesWebApp 및 EnableBuildings를 해제합니다.
2단계: 특정 사용자로부터 Places 향상된 서비스 계획 제거
먼저 대상으로 하는 사용자의 UPN을 사용하여 txt 파일(예: "users.txt")을 만듭니다. 줄당 하나의 UPN을 갖도록 txt 파일의 서식을 지정합니다. 그런 다음, 관리자 권한으로 PowerShell을 시작하고 다음 단계를 실행합니다.
사용자 읽기 쓰기 scope 사용하여 Microsoft Graph에 연결합니다.
Connect-Graph -Scopes User.ReadWrite.All파일 경로를 1단계에서 만든 txt 파일로 설정합니다.
$users = “<path_to_your_file>”Places_Enhanced 속한 skuID를 가져옵니다.
$skuId = (Get-MgUserLicenseDetail -UserId <UserId that has Places_Enhanced> | Where-Object { $_.ServicePlans.ServicePlanName -contains "PLACES_ENHANCED" }).SkuId사용하지 않도록 설정하려는 계획의 서비스 계획 ID를 정의합니다.
$newDisablePlans= @(“f8566154-2a62-48cb-a0ab-d4d25be26e51")다음 스크립트를 실행하여 각 사용자에 대한 계획을 사용하지 않도록 설정합니다.
Get-Content -Path $users| ForEach-Object { $userUPN = $_.Trim() if ($userUPN -ne "") { $userLicense = Get-MgUserLicenseDetail -UserId $userUPN $disabledPlans = $userLicense.ServicePlans | Where-Object { $_.ProvisioningStatus -eq "Disabled" } | Select-Object -ExpandProperty ServicePlanId $allDisabledPlans = $disabledPlans + $newDisablePlans | Sort-Object -Unique $addLicenses = @(@{ SkuId = $skuId DisabledPlans = $allDisabledPlans }) Set-MgUserLicense -UserId $userUPN -AddLicenses $addLicenses -RemoveLicenses @() } }
서비스 계획을 제거하려는 사용자가 몇 명뿐인 경우 Microsoft 365 관리 센터 통해 Places 고급 서비스 계획을 사용하지 않도록 설정할 수도 있습니다.
- Microsoft 365 관리 센터 이동합니다.
- 사용자 탭에서 활성 사용자를 선택합니다.
- Places 사용하지 않도록 설정할 사용자를 클릭합니다.
- 라이선스 및 앱으로 이동하여 앱 섹션을 확장합니다.
- Places 향상된 서비스 계획을 찾아서 선택 취소합니다.
- 변경 내용을 저장하고 다른 사용자에 대해 반복합니다.
참고
"Places Core"라는 다른 서비스 계획을 찾을 수 있습니다. 이 서비스 계획은 더 이상 사용되지 않으며 무시될 수 있습니다.
문제 해결
Microsoft Graph에 연결하는 동안 오류가 표시되면 Powershell을 사용하여 Microsoft 365에 연결을 참조하여 Microsoft Graph 설치 및 연결에 대한 자세한 내용을 확인하세요.
Graph 명령을 실행하는 동안 403 권한 부여 요청 거부 오류가 표시되면 필요한 범위를 사용하여 Graph에 연결한 검사 두 번 확인합니다. Find-MgGraphCommand를 사용하여 각 Graph 명령에 필요한 권한 scope 확인할 수 있습니다.