Hi @winston_smyth ,
Could you please share a bit more about your scenario?
Do you want to construct your custom connector URL Path dynamically?
Based on the scenario that you mentioned, I suppose that you want to make the {User ID} as dynamic value against the user name you typed within a Text Input Box, right?
If you want to make the {User ID} as dynamic value against the user name you typed within a Text Input Box, I afraid that there is no way to achieve your needs in custom connector of PowerApps currently.
As an alternative solution, I think the combination of Office 365 Users connection and your custom connector could achieve your needs. On your side, you just need to specify the action path within your custom connector based on the Graph URL that you mentioned.
Then within your app, add a connection to your custom connector and Office 365 Users connector. Add a Text Input box to collect user name entry.


Set the OnSelect property of the "Retrieve" button to following:
ClearCollect(
GroupsCollection,
PowerAppsMicrosoftGraph.ListGroupsForUser(First(Office365Users.SearchUser({searchTerm: TextInput1.Text})).Id).value
)
You could use the Office365Users.SearchUser() function to get the User Id for the entered user name within the Text Input Box firstly. Then use the retrieved Id result as argument value within your custom connector action.
Note: The PowerAppsMicrosoftGraph is my custom connector name
Then you could add a Data Table control in your app, set the Items property to the GroupsCollection to preview the retrieved results.
Best regards,