{"action":"created","comment":{"url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/pulls/comments/237662180","pull_request_review_id":180018964,"id":237662180,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzY2MjE4MA==","diff_hunk":"@@ -421,7 +421,10 @@ The **ownerType** entity indicates whether a device is corporate, personally own\n |:-------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:--------------------------:|\n | ownerTypeID   | Unique identifier of the owner type.                                                                                                                                               |                            |\n | ownerTypeKey  | Unique identifier of the owner type in the data warehouse   - surrogate key.                                                                                                       |                            |\n-| ownerTypeName | Represents the owner type of the devices:  Company  -   Device is enterprise owned.  Personal -   Device is personally owned (BYOD).   Unknown  -   No information on this device. | Company   Personal Unknown |\n+| ownerTypeName | Represents the owner type of the devices:  Corporate  -   Device is enterprise owned.  Personal -   Device is personally owned (BYOD).   Unknown  -   No information on this device. | Corporate   Personal Unknown |\n+\n+> [!Note]  \n+> For the ownerTypeName in AzureAD when creating Dynamic Groups for devices you need to set the value deviceOwnership as \"Company\". Refer to [Rules for devices](https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-dynamic-membership#rules-for-devices) for more details. ","path":"intune/intune-data-warehouse-collections.md","position":8,"original_position":8,"commit_id":"79de1274006cf16f0d2fcc5aa5018713c4706887","original_commit_id":"79de1274006cf16f0d2fcc5aa5018713c4706887","user":{"login":"Erikre","id":7407729,"node_id":"MDQ6VXNlcjc0MDc3Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/7407729?v=4","gravatar_id":"","url":"https://api.github.com/users/Erikre","html_url":"https://github.com/Erikre","followers_url":"https://api.github.com/users/Erikre/followers","following_url":"https://api.github.com/users/Erikre/following{/other_user}","gists_url":"https://api.github.com/users/Erikre/gists{/gist_id}","starred_url":"https://api.github.com/users/Erikre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erikre/subscriptions","organizations_url":"https://api.github.com/users/Erikre/orgs","repos_url":"https://api.github.com/users/Erikre/repos","events_url":"https://api.github.com/users/Erikre/events{/privacy}","received_events_url":"https://api.github.com/users/Erikre/received_events","type":"User","site_admin":false},"body":"```suggestion\r\n> For the `ownerTypeName` in AzureAD when creating Dynamic Groups for devices, you need to set the value `deviceOwnership` as `Company`. For more information, see [Rules for devices](https://docs.microsoft.com/azure/active-directory/users-groups-roles/groups-dynamic-membership#rules-for-devices). \r\n```","created_at":"2018-11-29T21:19:00Z","updated_at":"2018-11-29T21:19:16Z","html_url":"https://github.com/MicrosoftDocs/IntuneDocs/pull/1752#discussion_r237662180","pull_request_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/pulls/1752","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/pulls/comments/237662180"},"html":{"href":"https://github.com/MicrosoftDocs/IntuneDocs/pull/1752#discussion_r237662180"},"pull_request":{"href":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/pulls/1752"}}},"pull_request":{"url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/pulls/1752","id":233728609,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNzI4NjA5","html_url":"https://github.com/MicrosoftDocs/IntuneDocs/pull/1752","diff_url":"https://github.com/MicrosoftDocs/IntuneDocs/pull/1752.diff","patch_url":"https://github.com/MicrosoftDocs/IntuneDocs/pull/1752.patch","issue_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/issues/1752","number":1752,"state":"open","locked":false,"title":"Update ownerTypeName from Company to Corporate","user":{"login":"pedrog-msft","id":43790641,"node_id":"MDQ6VXNlcjQzNzkwNjQx","avatar_url":"https://avatars0.githubusercontent.com/u/43790641?v=4","gravatar_id":"","url":"https://api.github.com/users/pedrog-msft","html_url":"https://github.com/pedrog-msft","followers_url":"https://api.github.com/users/pedrog-msft/followers","following_url":"https://api.github.com/users/pedrog-msft/following{/other_user}","gists_url":"https://api.github.com/users/pedrog-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrog-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrog-msft/subscriptions","organizations_url":"https://api.github.com/users/pedrog-msft/orgs","repos_url":"https://api.github.com/users/pedrog-msft/repos","events_url":"https://api.github.com/users/pedrog-msft/events{/privacy}","received_events_url":"https://api.github.com/users/pedrog-msft/received_events","type":"User","site_admin":false},"body":"The company value apply for Azure AD. On Intune the device ownership value is represented as Corporate.","created_at":"2018-11-26T23:18:33Z","updated_at":"2018-11-29T21:19:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a18c8e7c9ccda523682f304a0bf6d449a1e26794","assignee":{"login":"Erikre","id":7407729,"node_id":"MDQ6VXNlcjc0MDc3Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/7407729?v=4","gravatar_id":"","url":"https://api.github.com/users/Erikre","html_url":"https://github.com/Erikre","followers_url":"https://api.github.com/users/Erikre/followers","following_url":"https://api.github.com/users/Erikre/following{/other_user}","gists_url":"https://api.github.com/users/Erikre/gists{/gist_id}","starred_url":"https://api.github.com/users/Erikre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erikre/subscriptions","organizations_url":"https://api.github.com/users/Erikre/orgs","repos_url":"https://api.github.com/users/Erikre/repos","events_url":"https://api.github.com/users/Erikre/events{/privacy}","received_events_url":"https://api.github.com/users/Erikre/received_events","type":"User","site_admin":false},"assignees":[{"login":"Erikre","id":7407729,"node_id":"MDQ6VXNlcjc0MDc3Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/7407729?v=4","gravatar_id":"","url":"https://api.github.com/users/Erikre","html_url":"https://github.com/Erikre","followers_url":"https://api.github.com/users/Erikre/followers","following_url":"https://api.github.com/users/Erikre/following{/other_user}","gists_url":"https://api.github.com/users/Erikre/gists{/gist_id}","starred_url":"https://api.github.com/users/Erikre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erikre/subscriptions","organizations_url":"https://api.github.com/users/Erikre/orgs","repos_url":"https://api.github.com/users/Erikre/repos","events_url":"https://api.github.com/users/Erikre/events{/privacy}","received_events_url":"https://api.github.com/users/Erikre/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1006481752,"node_id":"MDU6TGFiZWwxMDA2NDgxNzUy","url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/labels/Change%20sent%20to%20author","name":"Change sent to author","color":"ededed","default":false},{"id":1053652134,"node_id":"MDU6TGFiZWwxMDUzNjUyMTM0","url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/labels/microsoft-intune/svc","name":"microsoft-intune/svc","color":"ededed","default":false},{"id":1054617951,"node_id":"MDU6TGFiZWwxMDU0NjE3OTUx","url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/labels/ready-to-merge","name":"ready-to-merge","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/pulls/1752/commits","review_comments_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/pulls/1752/comments","review_comment_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/issues/1752/comments","statuses_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/statuses/79de1274006cf16f0d2fcc5aa5018713c4706887","head":{"label":"pedrog-msft:patch-5","ref":"patch-5","sha":"79de1274006cf16f0d2fcc5aa5018713c4706887","user":{"login":"pedrog-msft","id":43790641,"node_id":"MDQ6VXNlcjQzNzkwNjQx","avatar_url":"https://avatars0.githubusercontent.com/u/43790641?v=4","gravatar_id":"","url":"https://api.github.com/users/pedrog-msft","html_url":"https://github.com/pedrog-msft","followers_url":"https://api.github.com/users/pedrog-msft/followers","following_url":"https://api.github.com/users/pedrog-msft/following{/other_user}","gists_url":"https://api.github.com/users/pedrog-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrog-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrog-msft/subscriptions","organizations_url":"https://api.github.com/users/pedrog-msft/orgs","repos_url":"https://api.github.com/users/pedrog-msft/repos","events_url":"https://api.github.com/users/pedrog-msft/events{/privacy}","received_events_url":"https://api.github.com/users/pedrog-msft/received_events","type":"User","site_admin":false},"repo":{"id":151291728,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyOTE3Mjg=","name":"IntuneDocs","full_name":"pedrog-msft/IntuneDocs","private":false,"owner":{"login":"pedrog-msft","id":43790641,"node_id":"MDQ6VXNlcjQzNzkwNjQx","avatar_url":"https://avatars0.githubusercontent.com/u/43790641?v=4","gravatar_id":"","url":"https://api.github.com/users/pedrog-msft","html_url":"https://github.com/pedrog-msft","followers_url":"https://api.github.com/users/pedrog-msft/followers","following_url":"https://api.github.com/users/pedrog-msft/following{/other_user}","gists_url":"https://api.github.com/users/pedrog-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrog-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrog-msft/subscriptions","organizations_url":"https://api.github.com/users/pedrog-msft/orgs","repos_url":"https://api.github.com/users/pedrog-msft/repos","events_url":"https://api.github.com/users/pedrog-msft/events{/privacy}","received_events_url":"https://api.github.com/users/pedrog-msft/received_events","type":"User","site_admin":false},"html_url":"https://github.com/pedrog-msft/IntuneDocs","description":"Public repo for Intune content in OPS","fork":true,"url":"https://api.github.com/repos/pedrog-msft/IntuneDocs","forks_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/forks","keys_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/teams","hooks_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/hooks","issue_events_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/issues/events{/number}","events_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/events","assignees_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/assignees{/user}","branches_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/branches{/branch}","tags_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/tags","blobs_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/git/refs{/sha}","trees_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/statuses/{sha}","languages_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/languages","stargazers_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/stargazers","contributors_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/contributors","subscribers_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/subscribers","subscription_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/subscription","commits_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/commits{/sha}","git_commits_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/git/commits{/sha}","comments_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/comments{/number}","issue_comment_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/issues/comments{/number}","contents_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/contents/{+path}","compare_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/merges","archive_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/downloads","issues_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/issues{/number}","pulls_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/pulls{/number}","milestones_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/milestones{/number}","notifications_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/labels{/name}","releases_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/releases{/id}","deployments_url":"https://api.github.com/repos/pedrog-msft/IntuneDocs/deployments","created_at":"2018-10-02T17:03:13Z","updated_at":"2018-10-02T17:03:18Z","pushed_at":"2018-11-27T02:32:34Z","git_url":"git://github.com/pedrog-msft/IntuneDocs.git","ssh_url":"git@github.com:pedrog-msft/IntuneDocs.git","clone_url":"https://github.com/pedrog-msft/IntuneDocs.git","svn_url":"https://github.com/pedrog-msft/IntuneDocs","homepage":null,"size":167178,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MicrosoftDocs:master","ref":"master","sha":"e2e3e4287f7479060aeac5e593eb0be38a5d17d0","user":{"login":"MicrosoftDocs","id":22479449,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNDc5NDQ5","avatar_url":"https://avatars2.githubusercontent.com/u/22479449?v=4","gravatar_id":"","url":"https://api.github.com/users/MicrosoftDocs","html_url":"https://github.com/MicrosoftDocs","followers_url":"https://api.github.com/users/MicrosoftDocs/followers","following_url":"https://api.github.com/users/MicrosoftDocs/following{/other_user}","gists_url":"https://api.github.com/users/MicrosoftDocs/gists{/gist_id}","starred_url":"https://api.github.com/users/MicrosoftDocs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicrosoftDocs/subscriptions","organizations_url":"https://api.github.com/users/MicrosoftDocs/orgs","repos_url":"https://api.github.com/users/MicrosoftDocs/repos","events_url":"https://api.github.com/users/MicrosoftDocs/events{/privacy}","received_events_url":"https://api.github.com/users/MicrosoftDocs/received_events","type":"Organization","site_admin":false},"repo":{"id":50698134,"node_id":"MDEwOlJlcG9zaXRvcnk1MDY5ODEzNA==","name":"IntuneDocs","full_name":"MicrosoftDocs/IntuneDocs","private":false,"owner":{"login":"MicrosoftDocs","id":22479449,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNDc5NDQ5","avatar_url":"https://avatars2.githubusercontent.com/u/22479449?v=4","gravatar_id":"","url":"https://api.github.com/users/MicrosoftDocs","html_url":"https://github.com/MicrosoftDocs","followers_url":"https://api.github.com/users/MicrosoftDocs/followers","following_url":"https://api.github.com/users/MicrosoftDocs/following{/other_user}","gists_url":"https://api.github.com/users/MicrosoftDocs/gists{/gist_id}","starred_url":"https://api.github.com/users/MicrosoftDocs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicrosoftDocs/subscriptions","organizations_url":"https://api.github.com/users/MicrosoftDocs/orgs","repos_url":"https://api.github.com/users/MicrosoftDocs/repos","events_url":"https://api.github.com/users/MicrosoftDocs/events{/privacy}","received_events_url":"https://api.github.com/users/MicrosoftDocs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/MicrosoftDocs/IntuneDocs","description":"Public repo for Intune content in OPS","fork":false,"url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs","forks_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/forks","keys_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/teams","hooks_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/hooks","issue_events_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/issues/events{/number}","events_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/events","assignees_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/assignees{/user}","branches_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/branches{/branch}","tags_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/tags","blobs_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/git/refs{/sha}","trees_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/statuses/{sha}","languages_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/languages","stargazers_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/stargazers","contributors_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/contributors","subscribers_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/subscribers","subscription_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/subscription","commits_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/commits{/sha}","git_commits_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/git/commits{/sha}","comments_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/comments{/number}","issue_comment_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/issues/comments{/number}","contents_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/contents/{+path}","compare_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/merges","archive_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/downloads","issues_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/issues{/number}","pulls_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/pulls{/number}","milestones_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/milestones{/number}","notifications_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/labels{/name}","releases_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/releases{/id}","deployments_url":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/deployments","created_at":"2016-01-29T23:22:57Z","updated_at":"2018-11-29T18:46:58Z","pushed_at":"2018-11-29T18:46:52Z","git_url":"git://github.com/MicrosoftDocs/IntuneDocs.git","ssh_url":"git@github.com:MicrosoftDocs/IntuneDocs.git","clone_url":"https://github.com/MicrosoftDocs/IntuneDocs.git","svn_url":"https://github.com/MicrosoftDocs/IntuneDocs","homepage":null,"size":167216,"stargazers_count":59,"watchers_count":59,"language":"PowerShell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":281,"mirror_url":null,"archived":false,"open_issues_count":146,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":281,"open_issues":146,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/pulls/1752"},"html":{"href":"https://github.com/MicrosoftDocs/IntuneDocs/pull/1752"},"issue":{"href":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/issues/1752"},"comments":{"href":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/issues/1752/comments"},"review_comments":{"href":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/pulls/1752/comments"},"review_comment":{"href":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/pulls/1752/commits"},"statuses":{"href":"https://api.github.com/repos/MicrosoftDocs/IntuneDocs/statuses/79de1274006cf16f0d2fcc5aa5018713c4706887"}},"author_association":"NONE"}}
{"actor":{"display_login":"Erikre"}}