{"id":1726,"date":"2015-03-05T10:59:00","date_gmt":"2015-03-05T15:59:00","guid":{"rendered":"https:\/\/johndeletre.blog\/2015\/03\/automatic-license-assignment\/"},"modified":"2023-12-16T15:01:01","modified_gmt":"2023-12-16T20:01:01","slug":"automatic-license-assignment","status":"publish","type":"post","link":"https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/","title":{"rendered":"Automatic license assignment"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1726\" class=\"elementor elementor-1726 elementor-1\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-94a4e56 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"94a4e56\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2c933290\" data-id=\"2c933290\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-42037fa7 elementor-widget elementor-widget-text-editor\" data-id=\"42037fa7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: left;\"><span style=\"font-family: 'Segoe UI Light'; font-size: 1em;\">To be more efficient, cost-effective and adapted to their business needs, a client asked me to create a script to automate the assignment of user licenses on Office 365. In a collegial environment, where all users have the same licenses, it is quite simple to create a PowerShell script (see below) and to program it with task scheduler on a company server.<\/span><\/p>\n<p><span style=\"font-family: Segoe UI Light; font-size: 1em;\">Here the script will automatically associate a first Plan E1 license that includes Exchange, Sharepoint and Lync options. Next, the script will add the Office365Pro Plus license which allows students to install the Office suite on their personal computer.  <\/span><\/p>\n<p><span style=\"font-family: Segoe UI Light; font-size: 1em;\">Before you can use the script below some <span style=\"text-decoration: underline;\">prerequisites<\/span>:<\/span><\/p>\n<ul style=\"list-style-type: square;\">\n<li style=\"color: #0772ba; font-family: Segoe UI Light; font-size: 1em;\"><span style=\"color: black; font-family: Segoe UI Light; font-size: 1em;\"><a href=\"http:\/\/go.microsoft.com\/fwlink\/p\/?LinkId=286152\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Online Service Sign-in Assistant<\/a> must be installed on your server<\/span><\/li>\n<li style=\"color: #0772ba; font-family: Segoe UI Light; font-size: 1em;\"><span style=\"color: black; font-family: Segoe UI Light; font-size: 1em;\">The MsOnline PowerShell Module<a href=\"http:\/\/go.microsoft.com\/fwlink\/p\/?linkid=236298\">(32-bit<\/a> or <a href=\"http:\/\/go.microsoft.com\/fwlink\/p\/?linkid=236297\">64-bit<\/a>) must also be installed on the server<\/span><\/li>\n<li style=\"color: #0772ba; font-family: Segoe UI Light; font-size: 1em;\"><span style=\"color: black; font-family: Segoe UI Light; font-size: 1em;\">You must use a Global Administrator account for your Office 365 tenant<\/span><\/li>\n<li style=\"color: #0772ba; font-family: Segoe UI Light; font-size: 1em;\"><span style=\"color: black; font-family: Segoe UI Light; font-size: 1em;\">Finally, don&#8217;t forget to encrypt your password<\/span><\/li>\n<\/ul>\n<div style=\"background: #CCCCCC; font-family: consolas; font-size: 0.9em; height: 28px; padding-left: 5px; text-align: left; width: 690px;\"><strong><span style=\"color: #333333; vertical-align: middle;\">Script.ps1<\/span><\/strong><\/div>\n<div style=\"background: #eeeeee; border: thin solid #CCCCCC; font-size: 0.8em; height: 320px; line-height: 1; overflow: scroll; padding: 5px; white-space: nowrap; width: 690px;\">\n<p><span style=\"font-size: small;\"><span style=\"font-family: Courier New;\"><span style=\"color: #008000;\">#Variables<\/span><br><strong>$StudentE1Plan<\/strong> <strong>\n  <span style=\"color: #000080;\">=<\/span>\n<\/strong> <span style=\"color: #808080;\">&#8220;CONTOSO:STANDARDWOFFPACK_STUDENT&#8221;<\/span><br><strong>$StudentProPlusPlan<\/strong> <strong>\n  <span style=\"color: #000080;\">=<\/span>\n<\/strong> <span style=\"color: #808080;\">&#8220;CONTOSO:OFFICESUBSCRIPTION_STUDENT&#8221;<\/span><br><strong>$UsageLocation<\/strong> <strong>\n  <span style=\"color: #000080;\">=<\/span>\n<\/strong> <span style=\"color: #808080;\">&#8220;CA&#8221;<\/span><br><strong>$AdminUsername<\/strong> <strong>\n  <span style=\"color: #000080;\">=<\/span>\n<\/strong> <span style=\"color: #808080;\">&#8220;Admin.Online@contoso.onmicrosoft.com&#8221;<\/span><br><strong>$AdminPassword<\/strong> <strong>\n  <span style=\"color: #000080;\">=<\/span>\n<\/strong> <span style=\"color: #808080;\">&#8220;01234560d08c9ddf0115d1118c7a00c04fc297eb01000000624cd458111cce43914700864c926d6c0000000002000000000003660000c000000010000000d1978bc3e6f882a365ee88cf99d218a90000000004800000a000000010000000bf53352b415bdad87713c3024126198a18000000b50d34af8581989a86e484b7ef743fd0a7b7dcc6dbbe2b2e1400000065d00a033b86dcb5d44e739882db27318e17c546&#8221;<\/span><\/span><\/span><\/p>\n<p><span style=\"color: #008000;\">#Conversions<\/span><br><strong>$SecurePassword<\/strong> <strong>\n  <span style=\"color: #000080;\">=<\/span>\n<\/strong> <span style=\"color: #8000ff;\">ConvertTo-SecureString<\/span> <strong>$AdminPassword<\/strong> <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>AsPlainText <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>Force<br><strong>$cred<\/strong> <strong>\n  <span style=\"color: #000080;\">=<\/span>\n<\/strong> <span style=\"color: #8000ff;\">New-Object<\/span> <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>TypeName System<strong>\n  <span style=\"color: #000080;\">.<\/span>\n<\/strong>Management<strong>\n  <span style=\"color: #000080;\">.<\/span>\n<\/strong>Automation<strong>\n  <span style=\"color: #000080;\">.<\/span>\n<\/strong>PSCredential  <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>argumentlist  <strong>$AdminUsername<span style=\"color: #000080;\">,$SecurePassword<\/span><\/strong><\/p>\n<p><span style=\"color: #008000;\">#Import MsOnline Module<\/span><br>Import-Module MSOnline<\/p>\n<p><span style=\"color: #008000;\">#Connect to Office365<\/span><br>Connect-MSOLService <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>Credential <strong>$cred<\/strong><\/p>\n<p><span style=\"color: #008000;\">#Get Unlicenced Users on Office365<\/span><br><strong>$SudentE1Options<\/strong> <strong>\n  <span style=\"color: #000080;\">=<\/span>\n<\/strong> New-MsolLicenseOptions <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>AccountSkuId <strong>$StudentE1Plan<\/strong><br><strong>$SudentProPlusOptions<\/strong> <strong>\n  <span style=\"color: #000080;\">=<\/span>\n<\/strong> New-MsolLicenseOptions <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>AccountSkuId <strong>$StudentProPlusPlan<\/strong><br><strong>$UnlicencedUsers<\/strong> <strong>\n  <span style=\"color: #000080;\">=<\/span>\n<\/strong> Get-MSOLUser <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>UnlicensedUsersOnly <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>All<\/p>\n<p><span style=\"color: #008000;\">#Set Location CA for CANADA and Student A2 licence for all unlicenced users<\/span><br><strong>$UnlicencedUsers<\/strong> <strong>\n  <span style=\"color: #000080;\">|<\/span>\n<\/strong> <span style=\"color: #8000ff;\">ForEach-Object<\/span> <strong>\n  <span style=\"color: #000080;\">{<\/span>\n<\/strong><br>  Set-MsolUser <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>UserPrincipalName <strong>$_<span style=\"color: #000080;\">.<\/span><\/strong>UserPrincipalName <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>UsageLocation <strong>$UsageLocation<\/strong><br>  Set-MsolUserLicense <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>UserPrincipalName <strong>$_<span style=\"color: #000080;\">.<\/span><\/strong>UserPrincipalName <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>AddLicenses <strong>$StudentE1Plan<\/strong> <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>LicenseOptions <strong>$SudentE1Options<\/strong><br>  Set-MsolUserLicense <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>UserPrincipalName <strong>$_<span style=\"color: #000080;\">.<\/span><\/strong>UserPrincipalName <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>AddLicenses <strong>$StudentProPlusPlan<\/strong> <strong>\n  <span style=\"color: #000080;\">&#8211;<\/span>\n<\/strong>LicenseOptions <strong>$StudentProPlusPlan<\/strong><br><strong><span style=\"color: #000080;\">}<\/span><\/strong><\/p>\n<\/div>\n<p><img decoding=\"async\" class=\"wp-image-719 alignright\" src=\"https:\/\/johndeletre.blog\/wp-content\/uploads\/2022\/09\/Office_365_logo.png-940x0-1-300x69.png\" alt=\"\" width=\"188\" height=\"43\" srcset=\"https:\/\/johndeletre.blog\/wp-content\/uploads\/2022\/09\/Office_365_logo.png-940x0-1-300x69.png 300w, https:\/\/johndeletre.blog\/wp-content\/uploads\/2022\/09\/Office_365_logo.png-940x0-1-768x176.png 768w, https:\/\/johndeletre.blog\/wp-content\/uploads\/2022\/09\/Office_365_logo.png-940x0-1.png 940w\" sizes=\"(max-width: 188px) 100vw, 188px\" \/> <\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Below is an Office365 license assignment automation script<\/p>\n","protected":false},"author":1,"featured_media":1603,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[62],"tags":[74,73],"class_list":["post-1726","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-365-en","tag-powershell-en","tag-script-en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Automatic license assignment &#062; JD. Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automatic license assignment\" \/>\n<meta property=\"og:description\" content=\"Below is an Office365 license assignment automation script\" \/>\n<meta property=\"og:url\" content=\"https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/\" \/>\n<meta property=\"og:site_name\" content=\"JD. Blog\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/TheCowboy974\" \/>\n<meta property=\"article:published_time\" content=\"2015-03-05T15:59:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-16T20:01:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/johndeletre.blog\/wp-content\/uploads\/2022\/09\/PowerShell.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1323\" \/>\n\t<meta property=\"og:image:height\" content=\"618\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"John Deletre\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/john_deletre\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"John Deletre\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/automatic-license-assignment\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/automatic-license-assignment\\\/\"},\"author\":{\"name\":\"John Deletre\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#\\\/schema\\\/person\\\/76185eeef8e3b5739329b634aab80675\"},\"headline\":\"Automatic license assignment\",\"datePublished\":\"2015-03-05T15:59:00+00:00\",\"dateModified\":\"2023-12-16T20:01:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/automatic-license-assignment\\\/\"},\"wordCount\":329,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/automatic-license-assignment\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/johndeletre.blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/PowerShell.png\",\"keywords\":[\"PowerShell\",\"Script\"],\"articleSection\":[\"Microsoft 365\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/automatic-license-assignment\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/automatic-license-assignment\\\/\",\"url\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/automatic-license-assignment\\\/\",\"name\":\"Automatic license assignment &#062; JD. Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/automatic-license-assignment\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/automatic-license-assignment\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/johndeletre.blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/PowerShell.png\",\"datePublished\":\"2015-03-05T15:59:00+00:00\",\"dateModified\":\"2023-12-16T20:01:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/automatic-license-assignment\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/automatic-license-assignment\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/automatic-license-assignment\\\/#primaryimage\",\"url\":\"https:\\\/\\\/johndeletre.blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/PowerShell.png\",\"contentUrl\":\"https:\\\/\\\/johndeletre.blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/PowerShell.png\",\"width\":1323,\"height\":618},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/automatic-license-assignment\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automatic license assignment\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/\",\"name\":\"JD. Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#organization\",\"name\":\"JD. Blog\",\"url\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/johndeletre.blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/cropped-Sans-titre-3.png\",\"contentUrl\":\"https:\\\/\\\/johndeletre.blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/cropped-Sans-titre-3.png\",\"width\":512,\"height\":512,\"caption\":\"JD. Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#\\\/schema\\\/person\\\/76185eeef8e3b5739329b634aab80675\",\"name\":\"John Deletre\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e517726adf28d9166f91b0b3ea3976a170461f52f609f765df04b90346c87471?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e517726adf28d9166f91b0b3ea3976a170461f52f609f765df04b90346c87471?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e517726adf28d9166f91b0b3ea3976a170461f52f609f765df04b90346c87471?s=96&d=mm&r=g\",\"caption\":\"John Deletre\"},\"sameAs\":[\"https:\\\/\\\/johndeletre.blog\",\"https:\\\/\\\/www.facebook.com\\\/TheCowboy974\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/johndeletre\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/john_deletre\"],\"url\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/author\\\/johnadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Automatic license assignment &#062; JD. Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/","og_locale":"en_US","og_type":"article","og_title":"Automatic license assignment","og_description":"Below is an Office365 license assignment automation script","og_url":"https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/","og_site_name":"JD. Blog","article_author":"https:\/\/www.facebook.com\/TheCowboy974","article_published_time":"2015-03-05T15:59:00+00:00","article_modified_time":"2023-12-16T20:01:01+00:00","og_image":[{"width":1323,"height":618,"url":"https:\/\/johndeletre.blog\/wp-content\/uploads\/2022\/09\/PowerShell.png","type":"image\/png"}],"author":"John Deletre","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/john_deletre","twitter_misc":{"Written by":"John Deletre","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/#article","isPartOf":{"@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/"},"author":{"name":"John Deletre","@id":"https:\/\/johndeletre.blog\/en\/#\/schema\/person\/76185eeef8e3b5739329b634aab80675"},"headline":"Automatic license assignment","datePublished":"2015-03-05T15:59:00+00:00","dateModified":"2023-12-16T20:01:01+00:00","mainEntityOfPage":{"@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/"},"wordCount":329,"commentCount":0,"publisher":{"@id":"https:\/\/johndeletre.blog\/en\/#organization"},"image":{"@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/#primaryimage"},"thumbnailUrl":"https:\/\/johndeletre.blog\/wp-content\/uploads\/2022\/09\/PowerShell.png","keywords":["PowerShell","Script"],"articleSection":["Microsoft 365"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/","url":"https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/","name":"Automatic license assignment &#062; JD. Blog","isPartOf":{"@id":"https:\/\/johndeletre.blog\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/#primaryimage"},"image":{"@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/#primaryimage"},"thumbnailUrl":"https:\/\/johndeletre.blog\/wp-content\/uploads\/2022\/09\/PowerShell.png","datePublished":"2015-03-05T15:59:00+00:00","dateModified":"2023-12-16T20:01:01+00:00","breadcrumb":{"@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/#primaryimage","url":"https:\/\/johndeletre.blog\/wp-content\/uploads\/2022\/09\/PowerShell.png","contentUrl":"https:\/\/johndeletre.blog\/wp-content\/uploads\/2022\/09\/PowerShell.png","width":1323,"height":618},{"@type":"BreadcrumbList","@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/automatic-license-assignment\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/johndeletre.blog\/en\/"},{"@type":"ListItem","position":2,"name":"Automatic license assignment"}]},{"@type":"WebSite","@id":"https:\/\/johndeletre.blog\/en\/#website","url":"https:\/\/johndeletre.blog\/en\/","name":"JD. Blog","description":"","publisher":{"@id":"https:\/\/johndeletre.blog\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/johndeletre.blog\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/johndeletre.blog\/en\/#organization","name":"JD. Blog","url":"https:\/\/johndeletre.blog\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/johndeletre.blog\/en\/#\/schema\/logo\/image\/","url":"https:\/\/johndeletre.blog\/wp-content\/uploads\/2022\/09\/cropped-Sans-titre-3.png","contentUrl":"https:\/\/johndeletre.blog\/wp-content\/uploads\/2022\/09\/cropped-Sans-titre-3.png","width":512,"height":512,"caption":"JD. Blog"},"image":{"@id":"https:\/\/johndeletre.blog\/en\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/johndeletre.blog\/en\/#\/schema\/person\/76185eeef8e3b5739329b634aab80675","name":"John Deletre","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e517726adf28d9166f91b0b3ea3976a170461f52f609f765df04b90346c87471?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e517726adf28d9166f91b0b3ea3976a170461f52f609f765df04b90346c87471?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e517726adf28d9166f91b0b3ea3976a170461f52f609f765df04b90346c87471?s=96&d=mm&r=g","caption":"John Deletre"},"sameAs":["https:\/\/johndeletre.blog","https:\/\/www.facebook.com\/TheCowboy974","https:\/\/www.linkedin.com\/in\/johndeletre\/","https:\/\/x.com\/https:\/\/twitter.com\/john_deletre"],"url":"https:\/\/johndeletre.blog\/en\/author\/johnadmin\/"}]}},"jetpack_featured_media_url":"https:\/\/johndeletre.blog\/wp-content\/uploads\/2022\/09\/PowerShell.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/posts\/1726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/comments?post=1726"}],"version-history":[{"count":0,"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/posts\/1726\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/media\/1603"}],"wp:attachment":[{"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/media?parent=1726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/categories?post=1726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/tags?post=1726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}