Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActivityFeedBroadcast sample does not work #1100

Open
vovanb opened this issue Jan 4, 2024 · 8 comments
Open

ActivityFeedBroadcast sample does not work #1100

vovanb opened this issue Jan 4, 2024 · 8 comments
Assignees
Labels
bug Something isn't working platform-issue Teams JS issue sample-issue

Comments

@vovanb
Copy link

vovanb commented Jan 4, 2024

Hi
Provisioned all required info for ActivityFeedBroadcast sample, but unfortunately no activities sent to my user.
Note , to make sample working I also needed to modify index.html, otherwise userid was always null and received error on client "the library has not yet been initialized"

$(document).ready(function () {

   microsoftTeams.app.initialize().then(() => {
       $('#task-submitted').hide();

       microsoftTeams.app.getContext().then((context) => {
       userId = context.user.id;
       userName = context.user.userPrincipalName;

          
       });       

   });

   if (context.page.subPageId != "" && context.page.subPageId != undefined) {
       let taskInfo = {
           title: "Message details",
           size: {
               height: 400,
               width: 400,
           },
           url: window.location.origin + "/MessageDetails?taskId=" + context.page.subPageId,
       };

       microsoftTeams.dialog.open(taskInfo);
   };

}); 

the activity notification does not appear in Teams user , no exception on server and no error in AdapterWithErrorHandler

@ChetanSharma-msft
Copy link
Collaborator

ChetanSharma-msft commented Jan 5, 2024

Hello @vovanb - Thanks for raising your query.
We are looking into it and let you know the updates.

Similar issue: MicrosoftDocs/msteams-docs#9434

@ChetanSharma-msft
Copy link
Collaborator

Hello @vovanb - Sorry for delay in response.
Team is looking into this issue and will let you know the updates.

@vovanb
Copy link
Author

vovanb commented Jan 9, 2024

Hello,
note I modified app to use GetGraphClientforApp instead of user' access token. Got notification sent to one user , but not to another. Could we make troubleshooting session?

@ChetanSharma-msft
Copy link
Collaborator

Hello @vovanb - We are looking into it and let you know the updates.

@ChetanSharma-msft ChetanSharma-msft added platform-issue Teams JS issue bug Something isn't working labels Jan 11, 2024
@ChetanSharma-msft
Copy link
Collaborator

Hello @vovanb - Sorry for delay in response.
This issue is related to platform, so we have escalated this issue and let you know the updates if any.

@vovanb
Copy link
Author

vovanb commented Jan 21, 2024

@ChetanSharma-msft
do you have any progress?

@ChetanSharma-msft
Copy link
Collaborator

Hello @vovanb - Sorry for delay in response.
Engineering team is looking into this issue and trying to repro.
Once we have any update from engineering team, we will let you know.

@vovanb
Copy link
Author

vovanb commented Feb 12, 2024

@ChetanSharma-msft 4 weeks ago passed, do you have any ETA?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform-issue Teams JS issue sample-issue
Projects
None yet
Development

No branches or pull requests

4 participants