Hi Mansi Gusain,
I'm glad to know that your issue has been resolved. And thanks for sharing the information, which might be beneficial to other community members reading this thread as solution. Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", so I'll repost your response to an answer in case you'd like to accept the answer. This will help other users who may have a similar query find the solution more easily.
Question: Import configuration failed, error creating Data Source
Solution: It was a latency in the services.
If you have any further questions or concerns, please don't hesitate to ask. We're always here to help.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful.