Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,697 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
While I was working on the PowerShell to create custom partition on my power bi services dataset I'm facing the following issue tried many ways to resolve this but couldn't able to find the solution.
Install-Package : No match was found for the specified search criteria and package name 'Microsoft.AnalysisServices.retail.amd64'. Try
Get-PackageSource to see all available registered package sources.
This error message usually indicates that the package you're trying to install cannot be found in any of the registered package sources.
Try the following steps:
Get-PackageSource
command to view all the available package sources in your system. Make sure that the package source that contains the package you're trying to install is included in the list.Register-PackageSource
command. For example, to add the official Microsoft package source, you can run the following command: Register-PackageSource -Name "NuGet.org" -Location "https://api.nuget.org/v3/index.json" -ProviderName "NuGet"
```
1. Refresh the package cache: Run the **`Update-PackageSource`** command to refresh the package cache and make sure that the newly added package source is available for package installation.
1. Install the package: Once you have verified the package name and added the package source, you can try installing the package again using the **`Install-Package`** command. For example:
```powershell
Install-Package Microsoft.AnalysisServices.retail.amd64
```
If these steps do not resolve the issue, you may need to search for an alternative package or contact the package maintainer for further assistance.