Hello, did you set the variable on App Start? Click the App icon and for the OnStart action set the following
Set(gvCurrentUser, Office365Users.MyProfileV2());
Set(gvCurrentManager, Office365Users.ManagerV2(gvCurrentUser.userPrincipalName))
Have you set the default form mode as new?
on the manager datacardvalue on DefaultSelectedItems (not default) add the following:
//Default formula for the data card value
If(EditForm1.Mode = FormMode.New && Not( gvCurrentManager.userPrincipalName = ""),
{
DisplayName: gvCurrentManager.displayName,
Claims: "i:0#.f|membership|" & gvCurrentManager.userPrincipalName,
Department:gvCurrentManager.department,
Email:gvCurrentManager.mail,
JobTitle:gvCurrentManager.jobTitle
},
Parent.Default
)