[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-12-21(UTC)"],[],[],null,["# Troubleshoot issues with discovery client\n\nThis document shows you how to resolve issues with the discovery client.\n\nUse logs to identify issues\n---------------------------\n\nThe discovery client generates log files that you can use for debugging.\nLogs are stored locally on the machine where you installed the\ndiscovery client in the `C:\\ProgramData\\Google\\mcdc\\logs` folder.\n| **Note:** The logs files are limited in size, therefore the discovery client periodically deletes the content of old logs.\n\nTroubleshoot permissions and service accounts\n---------------------------------------------\n\nIf you experience issues with the authorization in connected mode, you might\nnot have the permissions required to create a service account in your\norganization, or might lack the required roles to authorize the discovery\nclient.\n\nTo resolve the issue, ask your organization administrator to create a service\naccount for you, and to assign the `roles/migrationcenter.discoveryClient`\nrole. Also, make sure that the **Cloud Resource Manager API** is enabled in the\nproject.\n\nIf you have a newly created organization on Google Cloud, by default service\naccount key creation is disabled.\nTo enable service account key creation, make sure you\nhave the `Organization Policy Administrator` role assigned, then follow these\nsteps:\n\n1. In the Google Cloud console, go to **IAM \\\u003e Organization Policies**.\n2. Click the policy named **Disable service account key creation**.\n3. Click **Manage Policy**.\n4. On the **Edit policy** page, in the **Applies to** section, select **Customize**.\n5. In the **Rules** section, expand **Edit rule** , then set **Enforcement** to **Off**.\n6. To finish, click **Set Policy**.\n\nTroubleshoot installation issues\n--------------------------------\n\nIf you install or upgrade the discovery client, but you're not logged in\nas a local administrator, the MSI execution likely fails with the following\nerror message: \n\n Google Cloud Migration Center discovery client Setup Wizard ended prematurely\n because of an error. Your system has not been modified. To install this program\n at a later time, run Setup Wizard again. Click the Finish button to exit the\n Setup Wizard.\n\nTo resolve the issue, right-click the MSI file and run it as\nan administrator.\n\nIn some cases, due to specific Windows versions or domain policies, the\n\"Run as Administrator\" option might be hidden.\nTo resolve the issue, try the following workarounds:\n\n- **Preferred method:** Open PowerShell as an administrator, and run\n `msiexec.exe /i mcdc.msi /L*V \"C:\\installer.log\"`.\n\n | **Tip:** if you have issues installing with PowerShell, check if you're using relative paths or long paths.\n- **Alternative method:**\n [Edit the registry](https://learn.microsoft.com/en-us/answers/questions/1090352/windows-11-msi-and-uac-rights)\n to show this option in the UI."]]