Hello samsearth ,
Thanks for the very detailed steps. I have understood and followed the below steps - But, I am getting the error - "Credentials are required to access this resource" when uploading the attachments to yammer using the given REST api.
1) Created App & Configured Delegate permissions (Hope, Admin Consent is not required for the App)
2) Configured the scope as "https://api.yammer.com/.default" and generated the Access Token
We used this access token in a Flow to post attachment in a Yammer community. But, we got the error "Credentials are required to access this resource"
Also, I tried changing the scope to "https://api.yammer.com/user_impersonation" as given in the article and tried to generate the access token, But, i got the error - "Error: AADSTS70011: The provided request must include a 'scope' input parameter. The provided value for the input parameter 'scope' is not valid. The scope https://api.yammer.com/user_impersonation is not valid."
I think i might be making some mistake somewhere in the above steps - Can you please let me know if any configuration above has to be changed?
Thanks & Regards,
Bhanu