ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core.Portal Namespace / PortalInfo Class / PortalThumbnailUri Property
Example Version

PortalThumbnailUri Property
Gets the URI of the portal thumbnail.
Syntax
public Uri PortalThumbnailUri {get;}
Remarks
The portal uri does NOT include a token. If a token is required that should be added. The PortalThumbnailUri can be null.
Example
PortalInfo portalInfo = await portal.GetPortalInfoAsync();
string thumbnailPath = portalInfo.PortalThumbnailUri?.AbsoluteUri;
if (portal.IsSignedOn() && !string.IsNullOrEmpty(thumbnailPath))
{
  var token = portal.GetToken();
  if (!string.IsNullOrEmpty(token))
  {
    thumbnailPath += "?token=" + token;
  }
}
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also