Home

Moved #Joined Messages

%3CLINGO-SUB%20id%3D%22lingo-sub-9459%22%20slang%3D%22en-US%22%3EMoved%20%23Joined%20Messages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-9459%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20someone%20joins%20a%20Yammer%20network%2C%20and%20that%20network%20has%20fewer%20than%2020%2C000%20members%2C%20then%20a%20message%20is%20created%20in%20the%20All%20Company%20group%20welcoming%20that%20person%20to%20the%20network.%26nbsp%3B%20There%20is%20no%20administrative%20control%20over%20this%20messaging%20%E2%80%93%20you%20cannot%20turn%20it%20off%2C%20you%20cannot%20change%20the%20text%2C%20and%20you%20cannot%20put%20those%20messages%20into%20another%20group%2C%20leaving%20your%20All%20Company%20often%20cluttered%20with%20these%20messages.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAt%20least%2C%20you%20couldn%E2%80%99t%20before%20you%20found%20this%20article.%26nbsp%3B%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20secret%20is%20to%20use%20Flow%2C%20which%20was%20%3CA%20href%3D%22https%3A%2F%2Fpowerapps.microsoft.com%2Fen-us%2Fblog%2Fintroducing-microsoft-flow-and-announcing-the-public-preview-of-powerapps%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ereleased%20as%20a%20preview%3C%2FA%3E%20on%20April%2029%2C%202016.%26nbsp%3B%20This%20preview%20has%20just%20enough%20hooks%20into%20Yammer%20that%20we%20can%20accomplish%20this%20long-asked-for%20task.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20are%20two%20Flow%20hooks%20into%20Yammer%20as%20an%20event%20%E2%80%93%20two%20Yammer-specific%20%E2%80%9Ctriggers%E2%80%9D.%26nbsp%3B%20The%20first%20is%20a%20post%20in%20a%20group%2C%20and%20the%20second%20is%20a%20post%20in%20your%20following%20feed.%26nbsp%3B%20The%20first%20trigger%20doesn%E2%80%99t%20help%2C%20because%20the%20All%20Company%20group%20is%20a%20special%20group%2C%20which%20does%20not%20have%20an%20identifying%20number%20associated%20with%20it.%26nbsp%3B%20It%E2%80%99s%20in%20the%20second%20trigger%20that%20makes%20magic%20happen.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20let%20me%20start%20by%20saying%20you%20do%20NOT%20need%20to%20be%20a%20hotshot%20developer%20to%20do%20this.%26nbsp%3B%20The%20directions%20are%20long-winded%20but%20you%20CAN%20do%20this.%26nbsp%3B%20Some%20bits%20are%20a%20little%20tedious%20but%20honestly%2C%20this%20is%20doable%20for%20any%20Community%20Manager%20or%20Yammer%20admin.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFirst%2C%20you%E2%80%99ll%20need%20to%20prepare%20by%20choosing%20the%20group%20where%20these%20messages%20will%20go.%26nbsp%3B%20For%20this%20demonstration%2C%20we%20have%20created%20a%20group%20called%20All%20Yammer%20Users.%26nbsp%3B%20Go%20to%20Yammer%20and%20create%20%2F%20select%20the%20group%20where%20these%20are%20going.%26nbsp%3B%20Also%2C%20follow%20the%20%23Joined%20topic%20in%20your%20network.%26nbsp%3B%20(This%20must%20be%20done%20as%20a%20Yammer%20Verified%20Admin)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENext%2C%20you%20need%20to%20sign%20up%20for%20Flow%20by%20accessing%20the%20%3CA%20href%3D%22https%3A%2F%2Fflow.microsoft.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EFlow%20site%3C%2FA%3E.%26nbsp%3B%20Go%20ahead%20and%20sign%20up.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAt%20the%20top%20of%20the%20Flow%20page%2C%20hit%20%E2%80%9CMy%20flows%E2%80%9D%2C%20and%20then%20select%20Create%20new%20flow.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20660px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F3041i11D4C0F99B26C31A%2Fimage-dimensions%2F660x105%3Fv%3D1.0%22%20width%3D%22660%22%20height%3D%22105%22%20alt%3D%22MJM1.png%22%20title%3D%22MJM1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESee%3F%26nbsp%3B%20Not%20scary%2C%20right%3F%26nbsp%3B%20So%20it%20asks%20you%20how%20you%20would%20like%20to%20start.%26nbsp%3B%20Well%2C%20we%20want%20to%20start%20with%20Yammer.%26nbsp%3B%20And%2C%20sigh%2C%20yes%2C%20it%20is%20all%20the%20way%20at%20the%20bottom.%26nbsp%3B%20Choose%20the%20very%20last%20item%20%E2%80%93%20Yammer%20%E2%80%93%20When%20there%20is%20a%20new%20message%20in%20my%20Following%20feed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20430px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F3042iA09786BC171F9E90%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22MJM2.png%22%20title%3D%22MJM2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%E2%80%99ll%20be%20asked%20to%20authenticate%20to%20Yammer%20%E2%80%93%20just%20put%20in%20your%20username%20and%20password%20when%20it%20prompts%20you.%26nbsp%3B%20(It%E2%80%99s%20all%20Microsoft%20and%20you%E2%80%99re%20logging%20in%20to%20Microsoft%3B%20you%20don%E2%80%99t%20have%20to%20worry%20about%20compromising%20your%20security%20with%20this.)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOk%2C%20so%20that%20looks%20promising.%26nbsp%3B%20And%20a%20little%20confusing.%26nbsp%3B%20Hit%20the%20little%20%2B%20symbol%20beneath%20the%20blue%20Yammer%20bar.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20507px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F3043i50817102B211A0B0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22MJM3.png%22%20title%3D%22MJM3.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20asks%20you%20to%20choose%20between%20adding%20an%20action%20and%20adding%20a%20condition.%26nbsp%3B%20For%20now%2C%20you%20need%20to%20add%20a%20condition.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20the%20black%20condition%20box%20opens%20up%2C%20just%20click%20inside%20the%20%E2%80%9CObject%20Name%E2%80%9D%20box%20and%20right%20below%20it%20two%20little%20blue%20boxes%20will%20appear.%26nbsp%3B%20Click%20on%20the%20second%20one%2C%20%E2%80%9CMessage%20Text.%E2%80%9D%26nbsp%3B%20On%20Relationship%2C%20click%20the%20down%20arrow%20and%20select%20%E2%80%9CContains%E2%80%9D.%26nbsp%3B%20And%20then%20on%20the%20Value%2C%20enter%2C%20%E2%80%9Cnetwork.%20Take%20a%20moment%20to%20welcome%E2%80%9D%20(no%20quotes).%26nbsp%3B%20Here%E2%80%99s%20a%20screenshot%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20466px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F3044i6C1B1DE9D0B2DE89%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22MJM4.png%22%20title%3D%22MJM4.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENotes%3A%26nbsp%3B%20First%2C%20the%20value%20is%20going%20to%20be%20different%20in%20each%20language.%26nbsp%3B%20Take%20a%20look%20at%20your%20%23joined%20messages%2C%20and%20enter%20the%20exact%20words%20and%20punctuation%20used%20in%20your%20%23joined%20messages.%26nbsp%3B%20These%20instructions%20are%20for%20US%20English%2C%20which%20uses%20this%20text%2C%20including%20one%20space%20between%20the%20period%20and%20the%20next%20sentence.%26nbsp%3B%20Use%20the%20exact%20phrase%20used%20after%20your%20network%20name%20and%20before%20the%20individual%20name.%20Second%2C%20don%E2%80%99t%20worry%2C%20we%E2%80%99re%20going%20to%20test%2C%20you%E2%80%99re%20not%20going%20to%20break%20anything.%26nbsp%3B%20You%20can%20always%20make%20adjustments%20later.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOk%2C%20so%20now%20we%20have%20a%20trigger%2C%20we%20have%20a%20condition%2C%20now%20we%20need%20an%20action.%26nbsp%3B%20Our%20action%20is%20to%20re-post%20the%20%23joined%20message%20into%20the%20All%20Yammer%20Users%20group%20(or%20whatever%20group%20you%20choose).%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOn%20the%20%E2%80%9CIf%20yes%E2%80%9D%20side%20of%20the%20screen%2C%20below%20our%20black%20condition%20box%2C%20click%20the%20purple%20%E2%80%9CAdd%20an%20action%E2%80%9D%20button.%26nbsp%3B%20It%20asks%20what%20you%20would%20like%20to%20do%20next%2C%20and%20to%20nobody%E2%80%99s%20surprise%2C%20Yammer%20is%20again%20listed%20last.%26nbsp%3B%20(Ok%2C%20it%E2%80%99s%20alphabetical%20but%20still.)%26nbsp%3B%20You%E2%80%99ll%20have%20to%20hit%20%E2%80%9CLoad%20More%E2%80%9D%20to%20get%20all%20the%20way%20down%20to%20where%20Yammer%20stuff%20is.%26nbsp%3B%20Select%20the%20very%20last%20item%2C%20%E2%80%9CYammer%20%E2%80%93%20Post%20message%E2%80%9D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20486px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F3046i57FDF69EF0152BF7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22MJM5.png%22%20title%3D%22MJM5.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20you%E2%80%99re%20asked%20what%20you%20want%20to%20post.%26nbsp%3B%20Here%E2%80%99s%20another%20little%20trick.%26nbsp%3B%20The%20%23joined%20messages%20are%20posted%20by%20the%20new%20user%2C%20so%20you%20know%20who%20they%E2%80%99re%20talking%20about.%26nbsp%3B%20But%20these%20messages%20are%20actually%20going%20to%20be%20posted%20by%20you.%26nbsp%3B%20So%20you%20have%20to%20somehow%20indicate%20who%20the%20person%20is%20who%20joined.%26nbsp%3B%20Good%20thing%20that%20information%20is%20here.%26nbsp%3B%20We%E2%80%99ll%20give%20the%20user%20ID%20%E2%80%93%20the%20internal%20number%20of%20the%20account%20that%20just%20joined%20us.%26nbsp%3B%20It%E2%80%99s%20there.%26nbsp%3B%20And%20we%E2%80%99ll%20make%20it%20clickable%20like%20a%20normal%20account%20by%20putting%20two%20brackets%20around%20it.%26nbsp%3B%20Here%2C%20take%20a%20look%20at%20the%20screenshots%20below.%26nbsp%3B%20Start%20by%20clicking%20within%20the%20Message%20Text%20field%2C%20and%20then%20clicking%20the%20ellipsis%20(%E2%80%A6).%26nbsp%3B%20Type%20%E2%80%9C%5B%5Buser%3A%E2%80%9D%2C%20then%20click%20on%20the%20sender_id%2C%20which%20puts%20that%20box%20in.%26nbsp%3B%20Then%20click%20back%20in%20the%20Message%20Text%20box%20and%20type%20type%20%E2%80%9C%5D%5D%E2%80%9D.%26nbsp%3B%20Finally%20add%20text%20that%20you%20would%20like%20to%20include%20in%20your%20post.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20513px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F3047iC5FD967DCB744DAA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22MJM6.png%22%20title%3D%22MJM6.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20brackets%20are%20how%20the%20user%20name%20gets%20to%20be%20clickable%2C%20and%20to%20show%20up%20even%20in%20a%20moble%20app.%26nbsp%3B%20Ok%2C%20that%20was%20kind%20of%20out%20of%20the%20comfort%20zone%2C%20right%3F%26nbsp%3B%20Well%20the%20next%20thing%20is%20easy.%26nbsp%3B%20Click%20on%20Group%20ID%20and%20choose%20the%20group%20we%E2%80%99re%20sending%20these%20messages%20to.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOk%2C%20so%20let%E2%80%99s%20see%20if%20that%20works.%26nbsp%3B%20At%20the%20bottom%20of%20the%20page%20is%20a%20box%20labeled%2C%20Flow%20name.%26nbsp%3B%20Put%20in%20a%20name%20for%20your%20flow%20and%20click%20Create%20Flow.%26nbsp%3B%20Again%2C%20don%E2%80%99t%20agonize%20over%20the%20name%3B%20we%20can%20change%20it%20later.%26nbsp%3B%20It%E2%80%99ll%20ask%20you%20if%20you%20want%20to%20submit%20it%20to%20the%20gallery%20(publish%20to%20the%20world).%26nbsp%3B%20Let%E2%80%99s%20not%2C%20just%20yet.%26nbsp%3B%26nbsp%3BClick%20Done%2C%20then%20Manage.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20743px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F3048iE9303610E81D569B%2Fimage-dimensions%2F743x55%3Fv%3D1.0%22%20width%3D%22743%22%20height%3D%2255%22%20alt%3D%22MJM7.png%22%20title%3D%22MJM7.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20it%E2%80%99s%20listed%20in%20%E2%80%9CMy%20flows%E2%80%9D%2C%20and%20it%E2%80%99s%20running!%26nbsp%3B%20The%20next%20person%20that%20joins%20your%20network%20will%20have%20the%20notification%20show%20up%20in%20both%20groups.%26nbsp%3B%20We%20haven%E2%80%99t%20done%20the%20delete%20bit%20yet.%26nbsp%3B%20If%20it%20doesn%E2%80%99t%20work%2C%20click%20on%20the%20little%20i%20symbol%20and%20it%E2%80%99ll%20show%20all%20the%20logs%20for%20it%20running%20(or%20not%20running).%26nbsp%3B%20Review%20the%20article%20and%20make%20sure%20you%20got%20everything%20in%20place.%20And%20make%20sure%20that%20you%E2%80%99re%20actually%20following%20the%20%23joined%20messages%2C%20or%20it%20won%E2%80%99t%20work%20at%20all%2C%20guaranteed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOk%2C%20now%20we%20didn%E2%80%99t%20want%20to%20just%20copy%20the%20messages%20%E2%80%93%20we%20wanted%20to%20MOVE%20them.%26nbsp%3B%20Which%20means%20we%20need%20to%20delete%20the%20original%20after%20we%20make%20the%20copy.%26nbsp%3B%20To%20do%20this%2C%20we%20need%20something%20called%20a%20REST%20token.%26nbsp%3B%20Two%20things%20to%20know%20about%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFirst%20%E2%80%93%20be%20careful%20with%20this%20token.%26nbsp%3B%20Guard%20it.%26nbsp%3B%20It%E2%80%99s%20the%20security%20equivalent%20of%20your%20username%20and%20password.%26nbsp%3B%20And%20since%20you%E2%80%99re%20a%20Yammer%20Verified%20Admin%2C%20someone%20finding%20and%20using%20this%20token%20could%20really%20be%20a%20big%20problem%20for%20your%20network.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESecond%20%E2%80%93%20this%20process%20is%20a%20pain.%26nbsp%3B%20Seriously.%26nbsp%3B%20I%E2%80%99ll%20try%20to%20write%20a%20script%20to%20make%20it%20easier%2C%20but%20for%20now%2C%20unfortunately%2C%20the%20best%20available%20documentation%20is%20here%3A%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fdeveloper.yammer.com%2Fdocs%2Ftest-token%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.yammer.com%2Fdocs%2Ftest-token%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%E2%80%99ll%20wait%20while%20you%20read%20that.%26nbsp%3B%20And%20yes%2C%20like%20I%20said%2C%20it%20is%20a%20pain.%26nbsp%3B%20Sorry.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20you%E2%80%99re%20done%2C%20you%E2%80%99ll%20have%20your%20token.%26nbsp%3B%20It%E2%80%99ll%20be%20something%20like%20this%3A%26nbsp%3B%20GwrtnFHPU59EL1CUFeuEbe%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOk%2C%20that%20is%20literally%20the%20hardest%20part%20of%20this%20whole%20process.%26nbsp%3B%20Don%E2%80%99t%20be%20embarrassed%20asking%20for%20help%20from%20your%20local%20developers%20or%20the%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FYammer-Developer%2Fbd-p%2FYammerDev%22%20target%3D%22_blank%22%3EMicrosoft%20Tech%20Community%20Yammer%20Developer%20group%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20that%20you%20have%20your%20token%2C%20we%20can%20add%20the%20action%20to%20delete%20the%20message%20after%20we%20copy%20it.%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fflow.microsoft.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EGo%20back%20into%20Flow%3C%2FA%3E%2C%20sign%20in%2C%20and%20click%20on%20My%20flows.%20Click%20on%20the%20flow%20we%E2%80%99re%20building%2C%20which%20will%20open%20it%20in%20edit%20mode.%26nbsp%3B%20What%20we%20want%20to%20do%20is%20make%20a%20new%20action%20under%20the%20same%20condition%2C%20which%20means%20%3CSTRONG%3E%3CU%3Edon%E2%80%99t%3C%2FU%3E%3C%2FSTRONG%3E%20click%20the%20%2B%20symbol.%26nbsp%3B%20Instead%2C%20click%20the%20Add%20an%20action%20button%20on%20our%20If%20yes%20box%2C%20which%20currently%20has%20Post%20message%20in%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20643px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F3049iC6ABF793FD52A0D0%2Fimage-dimensions%2F643x264%3Fv%3D1.0%22%20width%3D%22643%22%20height%3D%22264%22%20alt%3D%22MJM8.png%22%20title%3D%22MJM8.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20time%2C%20select%20the%203rd%20item%20down%2C%20%E2%80%9CHttp%E2%80%9D.%26nbsp%3B%20It%E2%80%99s%20orange.%26nbsp%3B%204%20boxes%20will%20open%20up%20asking%20you%20to%20fill%20things%20in.%26nbsp%3B%20Fill%20them%20out%20exactly%20this%20way%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20460px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F3050i9A3517632EE53B9A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22MJM9.png%22%20title%3D%22MJM9.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20Method%20is%20a%20drop%20down%20%E2%80%93%20select%20DELETE.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20Uri%2C%20enter%20%3CA%20href%3D%22https%3A%2F%2Fwww.yammer.com%2Fapi%2Fv1%2Fmessages%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.yammer.com%2Fapi%2Fv1%2Fmessages%2F%3C%2FA%3E%20and%20then%20click%20Message%20ID%20below%20the%20box%2C%20which%20will%20enter%20it%20into%20the%20same%20line.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20Headers%2C%20the%20punctuation%20is%20critical.%26nbsp%3B%20Here%20it%20is%20for%20you.%26nbsp%3B%20This%20is%20where%20you%20use%20that%20token%20that%20you%20went%20through%20so%20much%20trouble%20to%20get.%26nbsp%3B%20Do%20not%20use%20the%20%3CBRACKETS%3E%2C%20but%20use%20all%20the%20other%20punctuation.%26nbsp%3B%20For%20this%20example%20I%E2%80%99ll%20use%20the%20example%20token%20I%20used%20above%2C%20but%20you%20gotta%20use%20your%20own.%3C%2FBRACKETS%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%7B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%22Accept%22%3A%20%22*%2F*%22%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%22Authorization%22%3A%20%22Bearer%20GwrtnFHPU59EL1CUFeuEbe%22%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%22accept-encoding%22%3A%20%22gzip%22%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%22content-type%22%3A%20%22application%2Fjson%22%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%22content-length%22%3A%20%222%22%3C%2FP%3E%3CP%3E%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20we%E2%80%99re%20doing%20here%20is%20you%E2%80%99re%20making%20a%20call%20to%20the%20Yammer%20API%20and%20telling%20Yammer%20that%20you%E2%80%99re%20you%20(with%20that%20token)%20and%20saying%20that%20as%20you%20(a%20Verified%20Admin)%2C%20you%E2%80%99d%20like%20to%20delete%20the%20message%20that%20triggered%20this%20flow%20(which%20is%20a%20%23joined%20message).%26nbsp%3B%20That%E2%80%99s%20why%20I%20broke%20the%20narrative%20earlier%20in%20the%20instructions%20to%20allow%20you%20to%20test%2C%20because%20this%20will%20delete%20any%20message%20that%20sets%20the%20trigger.%26nbsp%3B%20And%20no%2C%20you%20can%20never%20get%20it%20back%3B%20the%20message%20is%20gone.%26nbsp%3B%20So%20make%20sure%20the%20copy%20operation%20works%20before%20you%20put%20this%20step%20in.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOk%2C%20that%E2%80%99s%20it.%26nbsp%3B%26nbsp%3B%20Update%20the%20name%20of%20your%20Flow%2C%20and%20click%20the%20Update%20Flow%20button.%26nbsp%3B%20You%E2%80%99re%20done!%26nbsp%3B%20That%E2%80%99s%20it%2C%20the%20flow%20will%20run%20(as%20you)%20until%20you%20come%20back%20here%20and%20pause%20it%20with%20the%20pause%20button%20(%7C%7C).%26nbsp%3B%20You%20can%20edit%20it%20any%20time%20by%20clicking%20on%20the%20name%2C%20and%20again%20the%20i%20symbol%20holds%20the%20logs%20of%20when%20it%20ran%2C%20when%20it%20failed%2C%20and%20why.%26nbsp%3B%20Delete%20with%20the%20trash%20can%20(but%20why%20would%20you%3F!)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%E2%80%99ve%20also%20tested%20some%20flows%20that%20put%20information%20about%20the%20joiner%20into%20SharePoint%20so%20that%20you%20can%20keep%20a%20running%20log%20of%20activity%20within%20Yammer%20in%20a%20central%20repository%2C%20but%20that%E2%80%99s%20for%20another%20day.%26nbsp%3B%20Enjoy!%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E(Originally%20posted%20on%20the%20Office%20365%20Network%2017%20May%2C%202016.%26nbsp%3B%20Note%20that%20this%20version%26nbsp%3Bcorrects%20a%20previous%20version%20which%20reposted%20the%20same%20message%2C%20thus%20creating%20an%20endless%20loop%20condition.%26nbsp%3B%20Screenshots%20may%20look%20different%20as%20Flow%20iterates.)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-832902%22%20slang%3D%22en-US%22%3ERe%3A%20Moved%20%23Joined%20Messages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832902%22%20slang%3D%22en-US%22%3EI%20used%20this%20instruction%20to%20delete%20%23joined%20messages%202%20years%20ago.%20A%20couple%20of%20weeks%20ago%20it%20suddenly%20didn't%20work%20anymore.%20Now%20i%20get%20a%20Bad%20Gateway%20error.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-860121%22%20slang%3D%22en-US%22%3ERe%3A%20Moved%20%23Joined%20Messages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-860121%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F10381%22%20target%3D%22_blank%22%3E%40Ronald%20Meer%3C%2FA%3E%26nbsp%3B%20-%20can%20you%20share%20the%20flow%20definition%20of%20Flow%20to%20Delete%20%23Joined%20Messages%20message%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-860453%22%20slang%3D%22en-US%22%3ERe%3A%20Moved%20%23Joined%20Messages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-860453%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F410664%22%20target%3D%22_blank%22%3E%40amethskynet1%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENo%20i%20don't.%20Whe%20have%20passed%20the%201000%20members%20in%20yammer.%20Than%20the%20join%20messages%20are%20stopping%20automatically.%20So%20i%20deleted%20the%20flow%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Tom Kretzmer
Regular Contributor

When someone joins a Yammer network, and that network has fewer than 20,000 members, then a message is created in the All Company group welcoming that person to the network.  There is no administrative control over this messaging – you cannot turn it off, you cannot change the text, and you cannot put those messages into another group, leaving your All Company often cluttered with these messages.

 

At least, you couldn’t before you found this article.  :)

 

The secret is to use Flow, which was released as a preview on April 29, 2016.  This preview has just enough hooks into Yammer that we can accomplish this long-asked-for task.

 

There are two Flow hooks into Yammer as an event – two Yammer-specific “triggers”.  The first is a post in a group, and the second is a post in your following feed.  The first trigger doesn’t help, because the All Company group is a special group, which does not have an identifying number associated with it.  It’s in the second trigger that makes magic happen.

 

And let me start by saying you do NOT need to be a hotshot developer to do this.  The directions are long-winded but you CAN do this.  Some bits are a little tedious but honestly, this is doable for any Community Manager or Yammer admin.

 

First, you’ll need to prepare by choosing the group where these messages will go.  For this demonstration, we have created a group called All Yammer Users.  Go to Yammer and create / select the group where these are going.  Also, follow the #Joined topic in your network.  (This must be done as a Yammer Verified Admin)

 

Next, you need to sign up for Flow by accessing the Flow site.  Go ahead and sign up. 

 

At the top of the Flow page, hit “My flows”, and then select Create new flow.

 

MJM1.png

 

See?  Not scary, right?  So it asks you how you would like to start.  Well, we want to start with Yammer.  And, sigh, yes, it is all the way at the bottom.  Choose the very last item – Yammer – When there is a new message in my Following feed.

 

MJM2.png

 

You’ll be asked to authenticate to Yammer – just put in your username and password when it prompts you.  (It’s all Microsoft and you’re logging in to Microsoft; you don’t have to worry about compromising your security with this.)

 

Ok, so that looks promising.  And a little confusing.  Hit the little + symbol beneath the blue Yammer bar.

 

MJM3.png

 

It asks you to choose between adding an action and adding a condition.  For now, you need to add a condition.

 

When the black condition box opens up, just click inside the “Object Name” box and right below it two little blue boxes will appear.  Click on the second one, “Message Text.”  On Relationship, click the down arrow and select “Contains”.  And then on the Value, enter, “network. Take a moment to welcome” (no quotes).  Here’s a screenshot:

 

MJM4.png

 

Notes:  First, the value is going to be different in each language.  Take a look at your #joined messages, and enter the exact words and punctuation used in your #joined messages.  These instructions are for US English, which uses this text, including one space between the period and the next sentence.  Use the exact phrase used after your network name and before the individual name. Second, don’t worry, we’re going to test, you’re not going to break anything.  You can always make adjustments later.

 

Ok, so now we have a trigger, we have a condition, now we need an action.  Our action is to re-post the #joined message into the All Yammer Users group (or whatever group you choose). 

 

On the “If yes” side of the screen, below our black condition box, click the purple “Add an action” button.  It asks what you would like to do next, and to nobody’s surprise, Yammer is again listed last.  (Ok, it’s alphabetical but still.)  You’ll have to hit “Load More” to get all the way down to where Yammer stuff is.  Select the very last item, “Yammer – Post message”

 

MJM5.png

 

Now you’re asked what you want to post.  Here’s another little trick.  The #joined messages are posted by the new user, so you know who they’re talking about.  But these messages are actually going to be posted by you.  So you have to somehow indicate who the person is who joined.  Good thing that information is here.  We’ll give the user ID – the internal number of the account that just joined us.  It’s there.  And we’ll make it clickable like a normal account by putting two brackets around it.  Here, take a look at the screenshots below.  Start by clicking within the Message Text field, and then clicking the ellipsis (…).  Type “[[user:”, then click on the sender_id, which puts that box in.  Then click back in the Message Text box and type type “]]”.  Finally add text that you would like to include in your post.

 

MJM6.png

 

The brackets are how the user name gets to be clickable, and to show up even in a moble app.  Ok, that was kind of out of the comfort zone, right?  Well the next thing is easy.  Click on Group ID and choose the group we’re sending these messages to.

 

Ok, so let’s see if that works.  At the bottom of the page is a box labeled, Flow name.  Put in a name for your flow and click Create Flow.  Again, don’t agonize over the name; we can change it later.  It’ll ask you if you want to submit it to the gallery (publish to the world).  Let’s not, just yet.  Click Done, then Manage.

 

MJM7.png

 

Now it’s listed in “My flows”, and it’s running!  The next person that joins your network will have the notification show up in both groups.  We haven’t done the delete bit yet.  If it doesn’t work, click on the little i symbol and it’ll show all the logs for it running (or not running).  Review the article and make sure you got everything in place. And make sure that you’re actually following the #joined messages, or it won’t work at all, guaranteed.

 

Ok, now we didn’t want to just copy the messages – we wanted to MOVE them.  Which means we need to delete the original after we make the copy.  To do this, we need something called a REST token.  Two things to know about this.

 

First – be careful with this token.  Guard it.  It’s the security equivalent of your username and password.  And since you’re a Yammer Verified Admin, someone finding and using this token could really be a big problem for your network. 

 

Second – this process is a pain.  Seriously.  I’ll try to write a script to make it easier, but for now, unfortunately, the best available documentation is here:  https://developer.yammer.com/docs/test-token

 

I’ll wait while you read that.  And yes, like I said, it is a pain.  Sorry.

 

When you’re done, you’ll have your token.  It’ll be something like this:  GwrtnFHPU59EL1CUFeuEbe

 

Ok, that is literally the hardest part of this whole process.  Don’t be embarrassed asking for help from your local developers or the Microsoft Tech Community Yammer Developer group.

 

Now that you have your token, we can add the action to delete the message after we copy it.  Go back into Flow, sign in, and click on My flows. Click on the flow we’re building, which will open it in edit mode.  What we want to do is make a new action under the same condition, which means don’t click the + symbol.  Instead, click the Add an action button on our If yes box, which currently has Post message in it.

 

MJM8.png

 

This time, select the 3rd item down, “Http”.  It’s orange.  4 boxes will open up asking you to fill things in.  Fill them out exactly this way:

 

MJM9.png

 

The Method is a drop down – select DELETE.

 

For Uri, enter https://www.yammer.com/api/v1/messages/ and then click Message ID below the box, which will enter it into the same line.

 

For Headers, the punctuation is critical.  Here it is for you.  This is where you use that token that you went through so much trouble to get.  Do not use the <brackets>, but use all the other punctuation.  For this example I’ll use the example token I used above, but you gotta use your own.

 

 

{

  "Accept": "*/*",

  "Authorization": "Bearer GwrtnFHPU59EL1CUFeuEbe",

  "accept-encoding": "gzip",

  "content-type": "application/json",

  "content-length": "2"

}

 

What we’re doing here is you’re making a call to the Yammer API and telling Yammer that you’re you (with that token) and saying that as you (a Verified Admin), you’d like to delete the message that triggered this flow (which is a #joined message).  That’s why I broke the narrative earlier in the instructions to allow you to test, because this will delete any message that sets the trigger.  And no, you can never get it back; the message is gone.  So make sure the copy operation works before you put this step in.

 

Ok, that’s it.   Update the name of your Flow, and click the Update Flow button.  You’re done!  That’s it, the flow will run (as you) until you come back here and pause it with the pause button (||).  You can edit it any time by clicking on the name, and again the i symbol holds the logs of when it ran, when it failed, and why.  Delete with the trash can (but why would you?!)

 

I’ve also tested some flows that put information about the joiner into SharePoint so that you can keep a running log of activity within Yammer in a central repository, but that’s for another day.  Enjoy! 

 

(Originally posted on the Office 365 Network 17 May, 2016.  Note that this version corrects a previous version which reposted the same message, thus creating an endless loop condition.  Screenshots may look different as Flow iterates.)

3 Replies
I used this instruction to delete #joined messages 2 years ago. A couple of weeks ago it suddenly didn't work anymore. Now i get a Bad Gateway error.

@Ronald Meer  - can you share the flow definition of Flow to Delete #Joined Messages message

@amethskynet1 

No i don't. Whe have passed the 1000 members in yammer. Than the join messages are stopping automatically. So i deleted the flow

Related Conversations
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Early preview of Microsoft Edge group policies
Sean Lyndersay in Discussions on
65 Replies
*Updated 9/3* Syncing in Microsoft Edge Preview Channels
Elliot Kirk in Articles on
201 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
2 Replies