{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/10957","repository_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/10957/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/10957/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/10957/events","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/10957","id":336889922,"node_id":"MDU6SXNzdWUzMzY4ODk5MjI=","number":10957,"title":"Examples for the 'Replace' function","user":{"login":"davegreen","id":759393,"node_id":"MDQ6VXNlcjc1OTM5Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/759393?v=4","gravatar_id":"","url":"https://api.github.com/users/davegreen","html_url":"https://github.com/davegreen","followers_url":"https://api.github.com/users/davegreen/followers","following_url":"https://api.github.com/users/davegreen/following{/other_user}","gists_url":"https://api.github.com/users/davegreen/gists{/gist_id}","starred_url":"https://api.github.com/users/davegreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davegreen/subscriptions","organizations_url":"https://api.github.com/users/davegreen/orgs","repos_url":"https://api.github.com/users/davegreen/repos","events_url":"https://api.github.com/users/davegreen/events{/privacy}","received_events_url":"https://api.github.com/users/davegreen/received_events","type":"User","site_admin":false},"labels":[{"id":646555990,"node_id":"MDU6TGFiZWw2NDY1NTU5OTA=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/active-directory/svc","name":"active-directory/svc","color":"0040cc","default":false},{"id":836704823,"node_id":"MDU6TGFiZWw4MzY3MDQ4MjM=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/assigned-to-author","name":"assigned-to-author","color":"e01f8f","default":false},{"id":836705700,"node_id":"MDU6TGFiZWw4MzY3MDU3MDA=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/doc-idea","name":"doc-idea","color":"fff8bc","default":false},{"id":836702742,"node_id":"MDU6TGFiZWw4MzY3MDI3NDI=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/triaged","name":"triaged","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"barbkess","id":5394625,"node_id":"MDQ6VXNlcjUzOTQ2MjU=","avatar_url":"https://avatars2.githubusercontent.com/u/5394625?v=4","gravatar_id":"","url":"https://api.github.com/users/barbkess","html_url":"https://github.com/barbkess","followers_url":"https://api.github.com/users/barbkess/followers","following_url":"https://api.github.com/users/barbkess/following{/other_user}","gists_url":"https://api.github.com/users/barbkess/gists{/gist_id}","starred_url":"https://api.github.com/users/barbkess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbkess/subscriptions","organizations_url":"https://api.github.com/users/barbkess/orgs","repos_url":"https://api.github.com/users/barbkess/repos","events_url":"https://api.github.com/users/barbkess/events{/privacy}","received_events_url":"https://api.github.com/users/barbkess/received_events","type":"User","site_admin":false},"assignees":[{"login":"barbkess","id":5394625,"node_id":"MDQ6VXNlcjUzOTQ2MjU=","avatar_url":"https://avatars2.githubusercontent.com/u/5394625?v=4","gravatar_id":"","url":"https://api.github.com/users/barbkess","html_url":"https://github.com/barbkess","followers_url":"https://api.github.com/users/barbkess/followers","following_url":"https://api.github.com/users/barbkess/following{/other_user}","gists_url":"https://api.github.com/users/barbkess/gists{/gist_id}","starred_url":"https://api.github.com/users/barbkess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbkess/subscriptions","organizations_url":"https://api.github.com/users/barbkess/orgs","repos_url":"https://api.github.com/users/barbkess/repos","events_url":"https://api.github.com/users/barbkess/events{/privacy}","received_events_url":"https://api.github.com/users/barbkess/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-06-29T07:18:13Z","updated_at":"2018-08-08T08:59:51Z","closed_at":null,"author_association":"NONE","body":"There are no examples that use the regex functionality of the 'Replace' function, which is proving a real problem for me to use these functions. I have an expression I believe should work, but I can't figure out based on the documentation what the function call should look like to take an attribute, regex, then pull that selection or group out as the data to write to the destination attribute.\r\n\r\nPerhaps providing a way to test these functions using a fixed input and the expression or functions users have written, as otherwise (as far as I know), can only be tested in the product (which is not ideal).\r\n\r\nIf anyone knows of a way to test these expressions outside of using them in the 'Microsoft Azure Active Directory Connect Provisioning Agent' tool, i'd be incredibly grateful!\r\n\r\nThanks,\r\nDave\r\n\r\n---\r\n#### Document details\r\n\r\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\r\n\r\n* ID: c8685339-06af-5bb1-64da-80c16878b0bf\r\n* Version Independent ID: 1ee0d812-00de-90cc-f5e2-d53e3b610bf0\r\n* Content: [Writing Expressions for Attribute Mappings in Azure Active Directory](https://docs.microsoft.com/en-gb/azure/active-directory/active-directory-saas-writing-expressions-for-attribute-mappings)\r\n* Content Source: [articles/active-directory/active-directory-saas-writing-expressions-for-attribute-mappings.md](https://github.com/Microsoft/azure-docs/blob/master/articles/active-directory/active-directory-saas-writing-expressions-for-attribute-mappings.md)\r\n* Service: **active-directory**\r\n* GitHub Login: @MarkusVi\r\n* Microsoft Alias: **markvi**"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/comments/411337216","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/10957#issuecomment-411337216","issue_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/10957","id":411337216,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTMzNzIxNg==","user":{"login":"R0chen","id":36328281,"node_id":"MDQ6VXNlcjM2MzI4Mjgx","avatar_url":"https://avatars3.githubusercontent.com/u/36328281?v=4","gravatar_id":"","url":"https://api.github.com/users/R0chen","html_url":"https://github.com/R0chen","followers_url":"https://api.github.com/users/R0chen/followers","following_url":"https://api.github.com/users/R0chen/following{/other_user}","gists_url":"https://api.github.com/users/R0chen/gists{/gist_id}","starred_url":"https://api.github.com/users/R0chen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/R0chen/subscriptions","organizations_url":"https://api.github.com/users/R0chen/orgs","repos_url":"https://api.github.com/users/R0chen/repos","events_url":"https://api.github.com/users/R0chen/events{/privacy}","received_events_url":"https://api.github.com/users/R0chen/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T08:59:51Z","updated_at":"2018-08-08T08:59:51Z","author_association":"NONE","body":"I have an question / issue: When we setup provisioning from Workday to AD with the default mappings, AD accounts get provisioned. But even then there are failures in the activity \"Synchronization rule action\" in the audit logs. \n\nThis is the summary error:\nActivity Status\nStatus : Failure\nReason : Failed to process Worker '21431' (see details for more information); Error: We will retry this operation on the next synchronization attempt.\n\nThis is are the details error:\nAdditional Details\nErrorCode : UnSpecified\nEventName : EntrySynchronizationError\nJoiningProperty : 21431\nSourceAnchor : 1f8ff0a1f91410f6cb260e1be5fe0b91\n\nHow can we troubleshoot which failure is accuring? This is quite a big issue, cause if we add mappings, they sometimes work and sometimes do not (especially expressions). It needs to be very clear on which rule or mapping the failture happens. Can someone please help us out ?"}}
{"actor":{"display_login":"R0chen"}}