Describe the bug
The generated service for the RetrieveAadUserRoles function does not work properly. When passing it a valid Aad Object ID, it throws an error. The payload in the generated service may be malformed?
Steps to Reproduce
- Add the function using: npx power-apps add-dataverse-api --api-name RetrieveAadUserRoles
- Pass it your own hardcoded Aad Object ID
Expected behavior
Should return User roles as expected.
Actual behavior
Throws the following error:
"{"error":{"code":"0x80060888","message":"Expression of type 'Edm.String' cannot be converted to type 'Edm.Guid'."}}"
Screenshots or Error Messages
Environment information
@microsoft/power-apps@1.1.3
Additional context
Describe the bug
The generated service for the RetrieveAadUserRoles function does not work properly. When passing it a valid Aad Object ID, it throws an error. The payload in the generated service may be malformed?
Steps to Reproduce
Expected behavior
Should return User roles as expected.
Actual behavior
Throws the following error:
"{"error":{"code":"0x80060888","message":"Expression of type 'Edm.String' cannot be converted to type 'Edm.Guid'."}}"
Screenshots or Error Messages
Environment information
@microsoft/power-apps@1.1.3
Additional context