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 Automate / Force Sync User - The ...
Power Automate
Suggested Answer

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

(1) ShareShare
ReportReport
Posted on by 208

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 

Categories:
I have the same question (0)
  • Karl G. Schneider Profile Picture
    54 on at

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

  • Suggested answer
    JOrton Profile Picture
    2 on at
    I was experiencing the same issue. But discovered if you use the Environment ID instead of the Environment Name for your variable, it works.

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 Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard