I got the following error when I tried to add portal Our portal configured with hosted server and ArcGIS data store.(Managed Database)
In your description above, it sounds as if you have an enterprise geodatabase that you have set up to be the managed data store, as per Register your data with ArcGIS Server using Manager—Documentation | ArcGIS Enterprise , correct? That is a bit different than the ArcGIS Data Store (What is ArcGIS Data Store?—Portal for ArcGIS (10.5) | ArcGIS Enterprise), which is the required component.
If you do have the ArcGIS Data Store component installed and configured, you should open a support ticket, as it may mean there's an issue with what the Portal reporting what it's capabilities are - see Survey123 Connect won't connect to our 10.4.1 portal (w/ SAML configured) · Issue #572 · Esri/Survey123Community · GitHu… as an example.
Thanks for assistance I solved this issueBut when I tried to publish the survey the following error showed up
Retrieving data ...