In SQL Server, I created a view which uses a linked server. The view runs fine from within Management Studio. But when I try to add it into SSAS I get the error:
Deferred prepare could not be completed - not associated with a trusted SQL Server connection.
In the linked server, I'm using the login's current security context. I tried adding that login to the list of local servers in the Linked Server Properties without success. I continue to get the error in the DSV.
Other posts suggest making sure the remote server uses SQL Server authentication, but I can't make any modifications to the remote server. I can access it fine however using Management Studio, so should't I be able to access it with SSAS as well?
SSAS requires Windows Authentication - if you are accessing the remote server via a SQL username/password then you will not be able to add that view to your SSAS DSView.
Why not just dump the table to another server you do access through windows auth?