The embedded credentials for content (workbook or data source) can be unintentionally removed or not saved when performing the following actions:
It is necessary to be cautious before performing these actions to ensure credentials are not lost.
Apply the appropriate workaround or follow the corresponding steps based on the action performed:
While web authoring, if you replace or add a data source connected to the workbook and select Publish directly, the data source credentials will not be embedded. To avoid this, use Publish As....
When you change the ownership of content, such as workbooks or data sources, the embedded credentials provided by the previous owner may be removed for security reasons. After changing ownership, the new owner must re-enter and embed the credentials for the data source. For more information, see Manage Content Ownership.
When publishing a workbook and data source simultaneously, if the Publish Type selected is Published separately, and the Authentication selected is Embedded password, the credentials will be embedded in the data source but not in the workbook. Verify if this is the intended behavior when publishing with these settings. For more information, see Workbook with Published Separately and Embedded Password Can Result in Error "Unable to connect to the data source".
For data sources using OAuth authentication, credentials are saved under My Account Settings. If you remove the credentials from My Account Settings, the embedded credentials in the associated content will also be removed. Additionally, if the user who owns the credentials is deleted, the credentials they own will also be deleted. For more information, see Manage Credentials > Remove saved credentials.
When using a workbook connected to a published data source, a data source error (such as "Unable to connect to the data source") occurs when viewing the workbook if the following conditions are met. This error also applies to data sources that do not have credentials, such as file-based data sources:
For more details, please refer to the following resources:
005321559

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.