Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Force Sync User - The environment '' could not be found in the tenant '

(1) ShareShare
ReportReport
Posted on by 194

Hi all,

I try to use the power platform for admin connector with "Force sync user" to sync a user into my environment. This works fine when I select the environment from the dropdown list. But if I give the environment name as a string variable i get the following error:

 

 

The environment '<null>' could not be found in the tenant *****

 

 

I tried with it with the display name, the Object-ID with and without '' as the the environment specification. How should you specify this? Documentation from Microsoft is crap!

https://docs.microsoft.com/en-gb/connectors/powerplatformforadmins/#force-sync-user 

  • Suggested answer
    JOrton Profile Picture
    JOrton 2 on at
    Force Sync User - The environment '' could not be found in the tenant '
    I was experiencing the same issue. But discovered if you use the Environment ID instead of the Environment Name for your variable, it works.
  • Re: Force Sync User - The environment '' could not be found in the tenant '

    The same here. Could not use Environmentvariables for this action. Annoying!

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard

Featured topics