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

Notifications

Announcements

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)
  • 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.
  • Karl G. Schneider Profile Picture
    54 on at

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 258 Super User 2025 Season 2

#2
trice602 Profile Picture

trice602 205 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 204 Most Valuable Professional

Last 30 days Overall leaderboard