web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error Power Platform C...
Power Apps
Answered

Error Power Platform Checker task in pipeline: Tenant '***' not found.

(1) ShareShare
ReportReport
Posted on by Microsoft Employee
Hi!
 
After unsuccessfull trial and error and hours searching the web I hope maybe the bright minds of this Community can help me.
 
I'm stuck on integrating the Power Platform Checker task of the Power Platform Build Tools in my pipeline which adds a solution from my DEV environment to GIT. 
 
This is the error:
AADSTS90002: Tenant '***' not found. This may happen if there are no active subscriptions for the tenant. Check to make sure you have the correct tenant ID. Check with your subscription administrator.
 
This is the YAML:
 
parameters:
nameSolutionName
  displayNameName of the Solution
  typestring
  default'<Name of the Solution>'

triggernone

pool:
  vmImage'windows-latest'

steps:
checkoutself
  persistCredentialstrue
  
taskPowerPlatformToolInstaller@0
  inputs:
    DefaultVersiontrue

taskPowerPlatformExportSolution@0
  inputs:
    authenticationType'PowerPlatformSPN'
    PowerPlatformSPN'ENV-D-INTERN-1'
    SolutionName'${{ parameters.SolutionName}}'
    SolutionOutputFile'$(Build.ArtifactStagingDirectory)\${{ parameters.SolutionName}}.zip'
    AsyncOperationtrue
    MaxAsyncWaitTime'60'

taskPowerPlatformChecker@0
  inputs:
    PowerPlatformSPN'ENV-D-INTERN-1'
    FilesToAnalyze'$(Build.ArtifactStagingDirectory)\${{ parameters.SolutionName}}.zip'
    RuleSet'0ad12346-e108-40b8-a956-9a8f95ea18c9'
 
The connection 'ENV-D-INTERN-1' is valid as the task PowerPlatformExportSolution@0 completes successfully.
 
Does anyone have an idea where I can look for a fix to this error?
 
 
 
I have the same question (0)
  • CU22072131-3 Profile Picture
    on at

    I'm running into this too, did you find a solution?

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes, I used the wrong Tenant ID in my Service Connection in Azure DevOps. At first I used the Guid of the environment in the Power Platform, but I had to use the Directory (tenant) ID of the App Registration.

  • CU22072131-3 Profile Picture
    on at

    Thanks, that fixed it for me.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 88

#2
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 45

Last 30 days Overall leaderboard