How to get Company address in Dynamics 365 ? You can try below code to check correctness of output.
CompanyInfo companyInfo = CompanyInfo::find();
info(strFmt("%1",companyInfo.postalAddress().Address));
Comments