{"action":"created","issue":{"url":"https://api.github.com/repos/AzureAD/rms-sdk-for-cpp/issues/43","labels_url":"https://api.github.com/repos/AzureAD/rms-sdk-for-cpp/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/AzureAD/rms-sdk-for-cpp/issues/43/comments","events_url":"https://api.github.com/repos/AzureAD/rms-sdk-for-cpp/issues/43/events","html_url":"https://github.com/AzureAD/rms-sdk-for-cpp/issues/43","id":94347791,"number":43,"title":"We can't set the license expiration in the custom policy","user":{"login":"Kammy6679","id":10860444,"avatar_url":"https://avatars.githubusercontent.com/u/10860444?v=3","gravatar_id":"","url":"https://api.github.com/users/Kammy6679","html_url":"https://github.com/Kammy6679","followers_url":"https://api.github.com/users/Kammy6679/followers","following_url":"https://api.github.com/users/Kammy6679/following{/other_user}","gists_url":"https://api.github.com/users/Kammy6679/gists{/gist_id}","starred_url":"https://api.github.com/users/Kammy6679/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kammy6679/subscriptions","organizations_url":"https://api.github.com/users/Kammy6679/orgs","repos_url":"https://api.github.com/users/Kammy6679/repos","events_url":"https://api.github.com/users/Kammy6679/events{/privacy}","received_events_url":"https://api.github.com/users/Kammy6679/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-10T17:03:36Z","updated_at":"2015-07-13T15:19:03Z","closed_at":null,"body":"We can't set the license expiration in the custom policy. "},"comment":{"url":"https://api.github.com/repos/AzureAD/rms-sdk-for-cpp/issues/comments/120964673","html_url":"https://github.com/AzureAD/rms-sdk-for-cpp/issues/43#issuecomment-120964673","issue_url":"https://api.github.com/repos/AzureAD/rms-sdk-for-cpp/issues/43","id":120964673,"user":{"login":"AgentRX","id":10774820,"avatar_url":"https://avatars.githubusercontent.com/u/10774820?v=3","gravatar_id":"","url":"https://api.github.com/users/AgentRX","html_url":"https://github.com/AgentRX","followers_url":"https://api.github.com/users/AgentRX/followers","following_url":"https://api.github.com/users/AgentRX/following{/other_user}","gists_url":"https://api.github.com/users/AgentRX/gists{/gist_id}","starred_url":"https://api.github.com/users/AgentRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgentRX/subscriptions","organizations_url":"https://api.github.com/users/AgentRX/orgs","repos_url":"https://api.github.com/users/AgentRX/repos","events_url":"https://api.github.com/users/AgentRX/events{/privacy}","received_events_url":"https://api.github.com/users/AgentRX/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T15:19:03Z","updated_at":"2015-07-13T15:19:03Z","body":"@Kammy6679, there was time conversion error which has been fixed in https://github.com/AzureAD/rms-sdk-for-cpp/pull/45 PR.\r\n\r\nTo set expiration time please use ContentValidUntil method of PolicyDescriptor. It will work now."}}