Hi ,
Thanks for reaching out to Microsoft Q&A.
Your paginated report works in Report Builder because it connects directly from your machine to Azure Analysis Services, but once published to Power BI Service, it fails since paginated reports there cannot directly connect to AAS models. Power BI Service only supports connections to Power BI semantic models (datasets) or to sources available through an On-premises data gateway. To resolve this, either migrate your AAS model into Power BI (recommended, since AAS is being phased out in favour of Fabric/Power BI Premium datasets) or configure a gateway that allows the Service to reach your AAS instance. Without one of these, the Service cannot establish the connection, which is why you see the “Cannot create a connection to data source” error.
Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.