I have been trying to convert an app to Named Formulas, and for the most part I'm loving it, as it really keeps the code clean, but I'm running into a couple of issues.
When I start my app I get the above error: "MicrosoftTeams.GetChannelsForGroup failed: The method 'GetChannelsForGroup' has an invalid value for parameter 'groupId'". There is only one call to GetChannelsForGroup in my App, which I've included below:
MyLocationFilter = ddlMyLocationFilter.SelectedText.Value;
MyTeamsTeams = MicrosoftTeams.GetAllTeams().value;
MyNotificationsTeam = With({
TargetTitle: "DefaultNotificationsTeam|" & MyLocationFilter
},
LookUp(
MyTeamsTeams,
LookUp(
Metadata,
Title=TargetTitle
).Data = id
)
);
MyNotificationsChannel = With({
MyTeamsChannels: MicrosoftTeams.GetChannelsForGroup(MyNotificationsTeam.id).value,
TargetTitle: "DefaultNotificationsChannel|" & MyLocationFilter
},
LookUp(
MyTeamsChannels,
LookUp(
Metadata,
Title=TargetTitle
).Data = id
)
)
I have no idea how to resolve this error.


Report
All responses (
Answers (