In an on-premises SharePoint Server farm, use Get-SPWebApplication -IncludeCentralAdministration from the SharePoint Management Shell and select the administration web application. SharePoint Online does not have a farm Central Administration site.
Supported PowerShell route
Sign in to a SharePoint server with an account authorised to run farm cmdlets. Open the SharePoint Management Shell and run:
Get-SPWebApplication -IncludeCentralAdministration |
Where-Object { $_.IsAdministrationWebApplication } |
Select-Object DisplayName, Url
Microsoft documents both -IncludeCentralAdministration and the IsAdministrationWebApplication property in Get-SPWebApplication.
If the command returns one row, the Url value is the Central Administration address registered in the farm.
If it returns nothing
Check these in order:
- Confirm you opened the SharePoint Management Shell on a server joined to the correct farm.
- Run
Get-SPFarmto confirm the shell can read the farm configuration. - Ask a farm administrator whether your account has the required SharePoint shell access. An administrator can grant controlled cmdlet access with
Add-SPShellAdmin. - Check whether Central Administration has been provisioned and whether its web application is running on another server.
- Review the PowerShell error rather than assuming the URL is missing.
Do not add yourself to farm administration merely to discover an address. Use an authorised admin route.
Confirm the result before using it
The command reports farm configuration. It does not prove that DNS, TLS, IIS bindings or network access are healthy.
From an approved admin workstation, open the returned HTTPS URL and confirm:
- the certificate is valid;
- the expected farm name and version are shown;
- authentication completes;
- the page is reachable only from the intended management network.
If the configured URL does not load, investigate DNS and IIS separately. Do not change the farm configuration just to make a browser error disappear.
Avoid the registry shortcut
Older articles often read CentralAdministrationURL from a version-specific SharePoint registry hive. That can be useful during forensic troubleshooting, but it is not the best primary discovery method. Registry paths vary by SharePoint generation and can preserve stale local values.
Use the farm cmdlet when the farm is healthy. Use registry and IIS evidence only as secondary diagnostics, with a record of the server and SharePoint version.
SharePoint Online boundary
SharePoint Online administration happens through the SharePoint admin centre and supported cloud administration interfaces. There is no server farm for you to inspect and no customer-accessible Central Administration web application.
If you arrived here while managing Microsoft 365, stop before running on-premises commands against an online tenant.
Support boundary
This article applies to supported on-premises SharePoint Server deployments. SharePoint Server 2013 reached end of support on 11 April 2023. A command that still runs on an unsupported farm does not make that farm safe or supported.
For practical farm and tenant administration discussions, join the SharePoint & Teams Admins Space.
