Hi
Ijaz M •,
Welcome to Microsoft Q&A forum.
As I understand, you are getting error 'running command dataExplorer.restore: s.getOptionsKey is not a function' when restoring database using Azure Data Studio.
Could you please let us know if you are following the same steps mentioned here in the documentation https://learn.microsoft.com/lb-lu/azure-data-studio/tutorial-backup-restore-sql-server?view=sql-server-2017 ?
Also update ADS to latest version and retry.
Let us know if this helped.
Thanks.