Problem: The Sign In and ArcGIS Online options are inactive in the File menu
Hosted feature services cannot be published from ArcMap because the Sign In and ArcGIS Online options are inactive (grayed out). The Sign In option allows users to log in to ArcGIS Online from ArcMap, and the ArcGIS Online option allows users to access data and maps uploaded to ArcGIS Online.
The following are possible causes for this issue.
The ArcGIS Connection Utility is disconnected because the ArcGIS Connection Properties is set to Never check. This setting allows ArcGIS Desktop to check for ArcGIS Online’s availability. A globe icon symbolizes a good connection; a globe icon with a red 'X' symbolizes a bad connection.
ArcMap is referencing an incorrect ArcGIS Online connection. In ArcGIS Administrator, the default ArcGIS Online connection (www.argis.com) is referenced instead of the organizational domain.
Solution or Workaround
Use one of the workarounds listed below to solve this issue.
Re-establish the ArcGIS Connection Utility.
Click the Show hidden icons button on the Windows taskbar and locate the disconnected ArcGIS Connection globe iconin the taskbar.
Right-click the ArcGIS Connection iconand click ‘Properties…’.
The ArcGIS Connection icon only appears after launching ArcMap.
In the ArcGIS Connection Properties dialog box, under Connection Test Frequency, select the Always check at the start of a session option, and click OK.
The ArcGIS Connection Utility is now connected. Hover the cursor over the ArcGIS Connection icon to check the status.
Add the ArcGIS Online organizational domain in ArcGIS Administrator.